Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5839 Prikazi

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?

Avatar
Opusti
Best Answer
'x_suppliername': fields.related('seller_ids', string='Supplier'),
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
okt. 15
3624
1
mar. 15
4454
2
mar. 15
5353
1
feb. 25
7601
5
feb. 24
15683