Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4992 Переглядів

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/

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
січ. 16
3657
7
лист. 15
14197
0
бер. 15
2743
6
груд. 20
7306