Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5848 Weergaven

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
Annuleer
Beste antwoord
'x_suppliername': fields.related('seller_ids', string='Supplier'),
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 15
3627
1
mrt. 15
4469
2
mrt. 15
5357
1
feb. 25
7606
5
feb. 24
15690