From 3025fda6add2827317d42cb368c8aba945633511 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Fri, 13 Jul 2018 15:14:18 +0200 Subject: [PATCH] [FIX][mrp_production_service] date_planned_start field does not exist in procurement --- mrp_production_service/__manifest__.py | 2 +- mrp_production_service/models/mrp_production.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mrp_production_service/__manifest__.py b/mrp_production_service/__manifest__.py index 6629fe3c7..68436b560 100644 --- a/mrp_production_service/__manifest__.py +++ b/mrp_production_service/__manifest__.py @@ -6,7 +6,7 @@ "name": "MRP Production Service", "summary": "Creates procurement orders from manufacturing orders, for " "services included in the Bill of Materials", - "version": "10.0.1.0.0", + "version": "10.0.1.0.1", "author": "Eficent," "Odoo Community Association (OCA)", "website": "https://www.odoo-community.org", diff --git a/mrp_production_service/models/mrp_production.py b/mrp_production_service/models/mrp_production.py index 3da70265a..120199e2b 100644 --- a/mrp_production_service/models/mrp_production.py +++ b/mrp_production_service/models/mrp_production.py @@ -16,7 +16,7 @@ class MrpProduction(models.Model): 'name': '%s for %s' % (line.product_id.name, production.name), 'origin': production.origin, 'company_id': production.company_id.id, - 'date_planned_start': production.date_planned_start, + 'date_planned': production.date_planned_start, 'product_id': line.product_id.id, 'product_qty': line.product_qty, 'product_uom': line.product_uom_id.id,