[FIX] Change the way it creates lines in sale orders because it did not update sale amounts