Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6158 Tampilan

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
Buang
Jawaban Terbai
'x_suppliername': fields.related('seller_ids', string='Supplier'),
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 15
4087
1
Mar 15
4910
2
Mar 15
5748
1
Feb 25
7951
5
Feb 24
16185