how update a field in inline edit mode upon selecting a product
I need to update a field (e.g description ) in order line (e.g purchase.order.line tree view) once I select a product in inline edit mode, how can I fetch the selected product in the backend and then update the desired field (e.g description ) in the front end?.
I tried the onchange on the model purchase.order.line but it's doesn't triggered, however it's triggered when I declare the function under purchase.order model (when selecting a new product).
_inherit = "purchase.order.line"
//cannot be trigered
_inherit = "purchase.order"