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.
I tried just using normal dot notation which doesn't work:
<tree string="Scheduled Emails">
How would I display the partner_id in the view?
Kit, you can add a related column into the model and display that related column. So in your case, add the following:
'partner_id': fields.related('order_id', 'partner_id', type='many2one', relation='res.partner', string='Partner')
then include the new field (partner_id) in your view. Note that I'm just guessing that you are referring to a res.partner model. If not, please update the above code accordingly.
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: 9/11/14, 3:56 PM|
|Seen: 696 times|
|Last updated: 3/16/15, 8:10 AM|