Skip to content

Commit

Permalink
[FIX] mrp_project: Don't make related mrp_production_id
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Dec 8, 2015
1 parent 05c4ff6 commit de4f450
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mrp_project/models/account_analytic_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ class AccountAnalyticLine(models.Model):
_inherit = 'account.analytic.line'

mrp_production_id = fields.Many2one(
comodel_name='mrp.production', string='Manufacturing Order',
related="task_id.mrp_production_id", store=True)
comodel_name='mrp.production', string='Manufacturing Order')
workorder = fields.Many2one(
comodel_name='mrp.production.workcenter.line', string='Work Order',
related="task_id.workorder", store=True)
Expand Down

0 comments on commit de4f450

Please sign in to comment.