İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5820 Görünümler

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
Vazgeç
En İyi Yanıt
'x_suppliername': fields.related('seller_ids', string='Supplier'),
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Eki 15
3557
1
Mar 15
4426
2
Mar 15
5286
1
Şub 25
7573
5
Şub 24
15575