Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3653 Visualizzazioni

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
0
mar 15
4022
1
mag 23
2746
2
mar 23
2459
1
dic 21
19154
0
apr 21
3264