diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-02-07 16:42:57 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-02-07 17:18:28 +0100 |
| commit | 88af7c939269c8decd94a01c7ef2b95b0cd4a892 (patch) | |
| tree | 1f8f9c9e600090758b26fdde82e53abd4ebe0ee5 | |
| parent | 17f3185994cf790b96389e88fb306053d127e1a9 (diff) | |
[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
| -rw-r--r-- | addons/mrp/models/mrp_production.py | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
