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

when i use

<field name="product_id" on_change="onchange_producto(product_id,  parent.partner_id)"/>

Return this error:

Error: Could not get field with name 'parent.partner_id' for onchange 'onchange_producto(product_id,  parent.partner_id)'

How must i use the "parent" class to get a partner_id field from a one2many parent??

Thanx!

アバター
破棄

Could you please explain better where do you want to use that? your view and object...

関連投稿 返信 ビュー 活動
0
3月 15
3990
1
5月 23
2742
2
3月 23
2415
1
12月 21
19135
0
4月 21
3255