From 88af7c939269c8decd94a01c7ef2b95b0cd4a892 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Tue, 7 Feb 2017 16:42:57 +0100 Subject: [PATCH] [FIX] mrp: expected date When a MO is created with a deadline start date in the future, the scheduled date of the stock move is still the creation date. opw-707396 --- addons/mrp/models/mrp_production.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/models/mrp_production.py b/addons/mrp/models/mrp_production.py index e589ebd5a4a..c19cd67771d 100644 --- a/addons/mrp/models/mrp_production.py +++ b/addons/mrp/models/mrp_production.py @@ -323,6 +323,7 @@ class MrpProduction(models.Model): data = { 'name': self.name, 'date': self.date_planned_start, + 'date_expected': self.date_planned_start, 'bom_line_id': bom_line.id, 'product_id': bom_line.product_id.id, 'product_uom_qty': quantity,