parent
1bb3852ff5
commit
73b6e6323f
|
@ -362,7 +362,7 @@ class Production(metaclass=PoolMeta):
|
||||||
order_point=None):
|
order_point=None):
|
||||||
"Inherited from stock_supply_production"
|
"Inherited from stock_supply_production"
|
||||||
production = super(Production, cls).compute_request(product,
|
production = super(Production, cls).compute_request(product,
|
||||||
warehouse, quantity, date, company)
|
warehouse, quantity, date, company, order_point)
|
||||||
if product.boms and product.boms[0].route:
|
if product.boms and product.boms[0].route:
|
||||||
production.route = product.boms[0].route
|
production.route = product.boms[0].route
|
||||||
# TODO: it should be called next to set_moves()
|
# TODO: it should be called next to set_moves()
|
||||||
|
|
Loading…
Reference in New Issue