From e65f5ca786c303b5e1fb5842aac7f4abb6fd94a6 Mon Sep 17 00:00:00 2001 From: oihane Date: Tue, 13 Jun 2017 10:12:07 +0200 Subject: [PATCH] [IMP] quality_control_mrp_operations: inspections do not have production_id --- quality_control_mrp_operations/models/mrp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/quality_control_mrp_operations/models/mrp.py b/quality_control_mrp_operations/models/mrp.py index 8e60a226..5c3dda0f 100644 --- a/quality_control_mrp_operations/models/mrp.py +++ b/quality_control_mrp_operations/models/mrp.py @@ -109,7 +109,6 @@ def write(self, vals, update=False): def create_quality_test(self, qtemplate): vals = { 'workcenter_line_id': self.id, - 'production_id': self.production_id.id, 'test': qtemplate.id, } if qtemplate.object_id: