Odoo Help

-1

add custom product field to sale order document (quotation)

By
Carlos
on 11/9/15, 4:26 PM 1,150 views

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/

Carlos
on 11/9/15, 7:02 PM
0
Carlos
On 11/9/15, 7:03 PM

For odoo 9:

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

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

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: 11/9/15, 4:26 PM
Seen: 1150 times
Last updated: 12/14/15, 7:30 AM