mirror of
https://github.com/NaN-tic/trytond-stock_lot_fifo.git
synced 2023-12-14 06:02:54 +01:00
parent
89b26379c1
commit
9395ab71bf
2
stock.py
2
stock.py
|
@ -69,7 +69,7 @@ class Move:
|
|||
while lots and remainder > 0.0:
|
||||
lot = lots.pop(0)
|
||||
production_quantity = 0.0
|
||||
if hasattr(move, 'production_input'):
|
||||
if getattr(move, 'production_input', False):
|
||||
for production_input in move.production_input.inputs:
|
||||
if (production_input.product == move.product
|
||||
and production_input.state == 'draft'
|
||||
|
|
Loading…
Reference in a new issue