Odoo Help

Welcome!

This community 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.

0

Conditional field visibility on sxw report

By
Victor Godayer
on 3/4/14, 11:55 AM 580 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

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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