mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] Call _create_material_estimated_cost method without self
This commit is contained in:
committed by
Oihane Crucelaegui
parent
87752867fd
commit
0233cc9a99
@@ -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 ==
|
||||
|
||||
Reference in New Issue
Block a user