Hi there,
I'm creating a button that automatically adds some products to sale order lines using
order.update([
(0,0,{'product_id':739,'product_uom_qty':70}),
(0,0,{'product_id':742,'product_uom_qty':3})
])
The code works fine, but the products are always added on the second row of sale order lines
Example: https://ibb.co/KGDF89f
I want the new lines to be added after the last line...
How can I 'control' the place where new lines are added?