Skip to Content
Menu
This question has been flagged
3250 Views

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
Discard

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

Related Posts Replies Views Activity
0
Mar 15
3635
1
May 23
2431
2
Mar 23
1976
1
Dec 21
18579
0
Apr 21
2874