Se rendre au contenu
Menu
Cette question a été signalée
3259 Vues

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
Ignorer

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

Publications associées Réponses Vues Activité
0
mars 15
3642
1
mai 23
2433
2
mars 23
1976
1
déc. 21
18582
0
avr. 21
2876