Hi,
I noticed a strange behaviour with the drag'n'drop automatic sequence order.
Let's take a purchase with 3 purchase_lines that we want reorder:
by default sequence field is empty on the 3 lines. If i drag 'n 'drop the last line to the first position and i save, this line will be in second position (???) (one sequence will stay empty and the other one will be '1').
Now if i drag''n'drop the second line to first position and i save, it will be ok. (sequence is still empty on the first line, and there'll be also '1' on the other line).
Next step, i take my first line and i put it in second position : when i save, this line will be in third position (with sequence '2' and the two others lines will have sequence '1').
Normal behaviour or bug ? Should not all the line renumbered when reordering ?