跳至内容
菜单
此问题已终结
2 回复
4955 查看

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.

形象
丢弃
编写者

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

编写者 最佳答案

For odoo 9:

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

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

形象
丢弃
相关帖文 回复 查看 活动
2
1月 16
3625
7
11月 15
14146
0
3月 15
2731
6
12月 20
7266