Odoo Help

0

Document type available as variable in template

By
Andrew
on 2/11/16, 8:43 AM 567 views

Hi,

I am working on a custom header for reports. In the header I would like to include a title based on what kind of document (purchase order, invoice, quotation, etc.) is being generated. My plan is to modify the view external_layout_header with something like this:

<t t-if="condition">
  <h2>Purchase Order</h2>
</t>


However, I have no idea what this condition should be. Can somebody help me out?

Thanks!

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

1 follower(s)

Stats

Asked: 2/11/16, 8:43 AM
Seen: 567 times
Last updated: 2/11/16, 10:22 AM