Odoo Help


Mixed content in sxw condition block

Victor Godayer
on 3/3/14, 12:11 PM 885 views


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


Your Answer

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

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/3/14, 12:11 PM
Seen: 885 times
Last updated: 3/16/15, 8:10 AM