コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5964 ビュー

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
10月 15
3795
1
3月 15
4651
2
3月 15
5498
1
2月 25
7743
5
2月 24
15891