Odoo Help

0

Conditional field visibility on sxw report

By
Victor Godayer
on 3/4/14, 11:55 AM 740 views

Hi,

I have a date field that I would like to show in the PDF quotation only if it is filled on the form view.

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.x_date_delivery and 'Delivery date : ']][[ formatLang(o.x_date_delivery,date=True) ]]

And this is my field in the xml declaration :

<field name="x_date_delivery"> </field>

I can't understand why it works for other field and not this one.

Thank you for your help

Cheers

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.

Register

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)

Stats

Asked: 3/4/14, 11:55 AM
Seen: 740 times
Last updated: 3/16/15, 8:10 AM