Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
5026 Prikazi

In product template form i have a custom field like "mycolor"

In  sale order form when i print the quotation i need get the field value "mycolor"

How i can access to the module product and get the field "mycolor" value from sale order form and print in sale order document.

Or how i can put in the sale order document (quotation) the field value "warranty" (<-- This field there is in product template form)

Or how i can display the product template form field value "warranty" inside saler oder form and then print it in the quotation.

Thank you.

Avatar
Opusti
Avtor

For odoo 9: http://odoo.guide/accessing-relational-fields-in-qweb-reports/

Avtor Best Answer

For odoo 9:

<span t-field="doc.product_id.product_tmpl_id.x_customfield"/>

http://odoo.guide/accessing-relational-fields-in-qweb-reports/

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jan. 16
3692
7
nov. 15
14270
0
mar. 15
2844
6
dec. 20
7324