تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5972 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة
'x_suppliername': fields.related('seller_ids', string='Supplier'),
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 15
3798
1
مارس 15
4656
2
مارس 15
5502
1
فبراير 25
7749
5
فبراير 24
15908