CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to print mixed content in an sxw report within a condition block.
I have a field
x_reply_delay which is a number of day.
If it is set by the user, I would like to print a sentence that contains this variable. But I don't know how to print the variable inside the sentence.
Below is what I would like to do but of course it doesn't work.
[[ o.x_reply_delay and 'This quotation is valid for '][[ o.x_reply_delay ]] ' days'
Thank you for your help
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
Odoo Training Center
|Asked: 3/3/14, 12:11 PM|
|Seen: 852 times|
|Last updated: 3/16/15, 8:10 AM|