Is it posible to populate the value from onchange_event in child object to parent_object.
Let us assume, we have sale_order - parent object sale_order_line - child object
by using the onchange product_id in sale_order_line is ir possible to populate the value for the parent object sale_order fields
You could always use
But I've been told that this is neither well apllicable nor good style.
For better help please give more details on what you are trying to do.
Have you thought about using an onchange function in sale_order on sale_order_lines?
If product_id changes the sale_order_line might change which triggers the onchange that has direct acces to the sale_order fields.
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: 2/28/14, 3:03 AM|
|Seen: 1248 times|
|Last updated: 3/16/15, 8:10 AM|