Skip to Content
Menu
This question has been flagged
3260 Zobrazenia

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!

Avatar
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
0
mar 15
3642
1
máj 23
2433
2
mar 23
1977
1
dec 21
18582
0
apr 21
2876