Skip to content

Commit

Permalink
Merge pull request #77 from ddico/submit_fix_analytic_before_done
Browse files Browse the repository at this point in the history
[FIX] mrp_production_real_cost - create analytic lines before done
  • Loading branch information
pedrobaeza committed Jan 20, 2016
2 parents 5501b2f + 4f1e3ad commit dda6e66
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 dda6e66

Please sign in to comment.