14 lines
683 B
Diff
14 lines
683 B
Diff
diff -r 9a6e9a12677d forecast.py
|
|
--- a/trytond/trytond/modules/stock_forecast/forecast.py Mon May 06 15:14:52 2019 +0200
|
|
+++ b/trytond/trytond/modules/stock_forecast/forecast.py Fri Oct 04 11:33:31 2019 +0200
|
|
@@ -457,8 +457,7 @@
|
|
move.product = self.product
|
|
move.uom = self.uom
|
|
move.quantity = qty * self.minimal_quantity
|
|
- move.planned_date = (self.forecast.from_date
|
|
- + datetime.timedelta(day))
|
|
+ move.planned_date = from_date + datetime.timedelta(day)
|
|
move.company = self.forecast.company
|
|
move.currency = self.forecast.company.currency
|
|
move.unit_price = unit_price
|