How can I insert a value in the context inside a qweb template in odoo 10?
I tried with
<t t-set = "doc" t-value = "doc.with_context (sale_proforma = True)" />
but it does not work....
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I insert a value in the context inside a qweb template in odoo 10?
I tried with
<t t-set = "doc" t-value = "doc.with_context (sale_proforma = True)" />
but it does not work....
Thank you.
Please refer reports documentation
https://www.odoo.com/documentation/10.0/reference/reports.html
search for context you will get
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.