Compute planned start date on production request
issue5560 review22001002
This commit is contained in:
1 parent
1434b65663
commit
908f088809
1 file changed
+2
@@ -101,6 +101,8 @@ class Production:
|
||||
for date, quantity in shortages[product.id]:
|
||||
req = cls.compute_request(product, warehouse,
|
||||
quantity, date, company)
|
||||
req.planned_start_date = (
|
||||
req.on_change_with_planned_start_date())
|
||||
req.save()
|
||||
req.set_moves()
|
||||
requests.append(req)
|
||||
|
||||
Reference in new issue
Block a user