Odoo Help


Mixed content in sxw condition block

Victor Godayer
on 3/3/14, 12:11 PM 1,174 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


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: 1174 times
Last updated: 3/16/15, 8:10 AM