mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] mrp_project: Don't make related mrp_production_id
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user