The Ordered Qty will be wrong if you copy lines from a previously closed order with lost sales qty. How to replicate in test.idempiere.org:
1) Create an order #1 with one line and quantity 2
2) Make a shipment of 1 qty
3) Close the order #1, now you have this:
QtyEntered=2
QtyOrdered=1
QtyLostSales=1
4) Create a new order #2
5) Copy lines from order #1, apparently it's OK, but when you complete order #2 you'll see:
QtyEntered=2
QtyOrdered=1
QtyLostSales=1
Fix is attached
This break copy lines from Completed Order. Shouldn't set qty order to zero.
Thanks , I missed that in the review, fixed now.