Hi,
In Odoo 11, in a quotation I can create order_lines and save a quotation.
If I don't change the order (sequence parameter), of the order_lines, I can add a new order_line which is placed and the end of the order _lines. It's OK.
If I change the order of the order_lines, and add a new order_line, it is not placed at the end of the order_lines because its sequence = 0.
I have changed this.
However, before saving the quotation, thenew order_line is placed at a wrong place (due to the sequence = 0), and when I click on the save button, the new order_line goes to the correct place.
If I move the new order_line before saving the quotation, the final position is correct.
My question is: how to attribute a correct position (or sequence) at the new order_line, before saving the quotation?
Thanks in advance,
Boris