Skip to Content
Menú
This question has been flagged
3300 Vistes

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
Descartar

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

Related Posts Respostes Vistes Activitat
0
de març 15
3658
1
de maig 23
2439
2
de març 23
1998
1
de des. 21
18587
0
d’abr. 21
2880