Odoo Help

Welcome!

This community 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.

-1

add custom product field to sale order document (quotation)

By
Carlos
on 11/9/15, 4:26 PM 784 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/

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/9/15, 4:26 PM
Seen: 784 times
Last updated: 12/14/15, 7:30 AM