Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3305 Visualizações

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
3662
1
mai. 23
2440
2
mar. 23
2002
1
dez. 21
18588
0
abr. 21
2882