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??
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/8/13, 5:07 PM|
|Seen: 573 times|
|Last updated: 3/16/15, 8:10 AM|