Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi! I'm creating a report en odoo with Qviews and I have problems with call fields from other models. For example , I want to access the field "origin " of the table stock_move since the sale.order model.
Please need help with this. Thanks!!
<t t-foreach="docs" t-as="o">
<div class="col-xs-4 col-xs-offset-6">
<p>Order Number: <span t-field="o.name"/></p>
<p>Origin: <span t-field="NEED ACCESS SINCE SALE MODEL TO STOCK MODEL FOR THE "Origin" FIELD (stock_move table)"/></p>
<p>Customer: <span t-field="o.partner_id"/> </p>
<p>Product Name: <span t-field="o.product_id.name_template"/> </p>
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 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
|Asked: 2/10/16, 3:21 PM|
|Seen: 350 times|
|Last updated: 2/10/16, 5:07 PM|