Skip to Content
Menú
This question has been flagged
1 Respondre
5825 Vistes

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
Descartar
Best Answer
'x_suppliername': fields.related('seller_ids', string='Supplier'),
Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’oct. 15
3584
1
de març 15
4433
2
de març 15
5316
1
de febr. 25
7582
5
de febr. 24
15627