13.02.26
This commit is contained in:
@@ -739,7 +739,7 @@ class SaleLine(metaclass=PoolMeta):
|
|||||||
lqh = LotQtHist()
|
lqh = LotQtHist()
|
||||||
lqh.quantity_type = lqtt[0]
|
lqh.quantity_type = lqtt[0]
|
||||||
lqh.quantity = lot.lot_quantity
|
lqh.quantity = lot.lot_quantity
|
||||||
lqh.gross_quantity = lot.lot_quantity
|
lqh.gross_quantity = Decimal(0) #lot.lot_quantity
|
||||||
lot.lot_hist = [lqh]
|
lot.lot_hist = [lqh]
|
||||||
if line.quantity > 0:
|
if line.quantity > 0:
|
||||||
Lot.save([lot])
|
Lot.save([lot])
|
||||||
|
|||||||
Reference in New Issue
Block a user