diff --git a/mrp_production_real_cost/models/mrp_production_workcenter_line.py b/mrp_production_real_cost/models/mrp_production_workcenter_line.py index 8a60546c89..170636f8b6 100644 --- a/mrp_production_real_cost/models/mrp_production_workcenter_line.py +++ b/mrp_production_real_cost/models/mrp_production_workcenter_line.py @@ -97,7 +97,7 @@ def action_pause(self): @api.multi def action_done(self): - result = super(MrpProductionWorkcenterLine, self).action_done() self._create_analytic_line() self._create_pre_post_cost_lines(cost_type='post') + result = super(MrpProductionWorkcenterLine, self).action_done() return result