Skip to content

Commit

Permalink
[FIX] mrp_production_real_cost - create analytic lines before calling…
Browse files Browse the repository at this point in the history
… action_done
  • Loading branch information
ddico committed Jan 20, 2016
1 parent 5501b2f commit 4f1e3ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4f1e3ad

Please sign in to comment.