I have a integer field that I would like to show in the PDF quotation only if the sale order is in the quotation state.
It works already for other field, but this one does not, and I don't understand why.
Here is the line in the sxw report :
[[ o.state not in ['draft','sent'] and 'This offer is valid ']][[ o.x_reply_delay ]] days.
And this is my field in the xml declaration :
<field name="x_reply_delay"></field>
I can't understand why it works for other field and not this one. Having strings before and after the variable evaluation would break the evaluation of the condition ?
Thank you for your help
Cheers