From 0233cc9a9968c85295c722c67416bf899769b2a2 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Thu, 10 Sep 2015 11:51:56 +0200 Subject: [PATCH] [FIX] Call _create_material_estimated_cost method without self --- mrp_production_project_estimated_cost/models/mrp_production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrp_production_project_estimated_cost/models/mrp_production.py b/mrp_production_project_estimated_cost/models/mrp_production.py index 0cb02b2a9..ae5eedcce 100644 --- a/mrp_production_project_estimated_cost/models/mrp_production.py +++ b/mrp_production_project_estimated_cost/models/mrp_production.py @@ -314,7 +314,7 @@ class MrpProduction(models.Model): analytic_line_obj.search(cond).unlink() for product_line in record.product_lines: self._create_material_estimated_cost( - self, record, product_line) + record, product_line) for line in record.workcenter_lines: op_wc_lines = line.routing_wc_line.op_wc_lines wc = op_wc_lines.filtered(lambda r: r.workcenter ==