Merge PR #704 into 14.0

Signed-off-by dreispt
This commit is contained in:
OCA-git-bot
2022-02-24 18:20:06 +00:00

View File

@@ -40,7 +40,7 @@ class MrpWorkcenterProductivity(models.Model):
return timelog
def write(self, vals):
res = super().write(vals)
if vals.get("date_end"):
self.generate_mrp_work_analytic_line()
res = super().write(vals)
return res