Hi,
We have some products for which an eco-batterie is applied.
I have defined this eco-batterie as a service and, if it need to be applied for a specific product, when I save a new sale order line or update it, the eco-batterie appears correctly. This is fine.
However I would like that this sale order line with the eco-batterie appears (or desappears) immediately, before to click on the save button. I try @api.onchange('product_id', 'product_uom_qty') but it is not working (the lines does not change immediately).