Odoo Help


add supplier to product list

Greg Moss
on 6/27/13, 11:44 PM 1,785 views

In OpenERP 7

I have a client that needs to see the supplier name (Just one if there are multiple suppliers) in the product listing. I've tried using related fields but can't seem to get the syntax right.

Have tried:

'x_suppliername': fields.related('seller_ids','name',type='many2one', relation='product.supplierinfo','string='Supplier'),

Can anyone help me on this?


Francesco OpenCode

--Francesco OpenCode--
Francesco OpenCode
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 6/28/13, 5:54 AM
'x_suppliername': fields.related('seller_ids', string='Supplier'),

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


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

0 follower(s)


Asked: 6/27/13, 11:44 PM
Seen: 1785 times
Last updated: 3/16/15, 8:10 AM