14.02.26
This commit is contained in:
@@ -339,7 +339,7 @@ class Sale(metaclass=PoolMeta):
|
||||
for sale in sales:
|
||||
for line in sale.lines:
|
||||
if not line.quantity_theorical and line.quantity > 0:
|
||||
line.quantity_theorical = line.quantity
|
||||
line.quantity_theorical = Decimal(str(line.quantity)).quantize(Decimal("0.00001"))
|
||||
Line.save([line])
|
||||
|
||||
if line.lots:
|
||||
|
||||
Reference in New Issue
Block a user