[FIX] mrp_project: missed update parameter in super call

This commit is contained in:
agaldona
2016-11-10 14:20:53 +01:00
parent 0da310b3ac
commit 247a2adf9d

View File

@@ -103,5 +103,5 @@ class MrpProductionWorkcenterLine(models.Model):
def write(self, vals, update=True):
for rec in self:
super(MrpProductionWorkcenterLine, rec.with_context(
production=rec.production_id)).write(vals)
production=rec.production_id)).write(vals, update=update)
return True