This commit is contained in:
2026-02-13 17:15:48 +01:00
parent 6eec004781
commit 7d99f56fa5

View File

@@ -739,7 +739,7 @@ class SaleLine(metaclass=PoolMeta):
lqh = LotQtHist()
lqh.quantity_type = lqtt[0]
lqh.quantity = lot.lot_quantity
lqh.gross_quantity = lot.lot_quantity
lqh.gross_quantity = Decimal(0) #lot.lot_quantity
lot.lot_hist = [lqh]
if line.quantity > 0:
Lot.save([lot])