Compute planned start date on production request

issue5560
review22001002
This commit is contained in:
Cédric Krier committed 2016-06-24 09:24:02 +02:00
1 parent 1434b65663
commit 908f088809
1 file changed
+2
+2
View File
@@ -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)