Add depends sale_supply_production module

issue3257
This commit is contained in:
Raimon Esteve 2022-05-18 16:44:08 +02:00
parent 1bb3852ff5
commit 73b6e6323f
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ class Production(metaclass=PoolMeta):
order_point=None):
"Inherited from stock_supply_production"
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:
production.route = product.boms[0].route
# TODO: it should be called next to set_moves()