From 299a61ecbcdb25bdd0dc17fa1f4ed5fc68d96e26 Mon Sep 17 00:00:00 2001 From: Geoffroy Larue Date: Thu, 9 May 2019 14:21:02 +0000 Subject: [PATCH] [IMP] hr_timesheet: remove useless field Remove the field company_uom_id as it is not used anymore. Task-1975022 --- addons/hr_timesheet/models/analytic_account.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/hr_timesheet/models/analytic_account.py b/addons/hr_timesheet/models/analytic_account.py index 574e73962d9..f61059058be 100644 --- a/addons/hr_timesheet/models/analytic_account.py +++ b/addons/hr_timesheet/models/analytic_account.py @@ -9,7 +9,6 @@ class AccountAnalyticAccount(models.Model): _inherit = 'account.analytic.account' _description = 'Analytic Account' - company_uom_id = fields.Many2one('uom.uom', related='company_id.project_time_mode_id', string="Company UOM", readonly=False) project_ids = fields.One2many('project.project', 'analytic_account_id', string='Projects') project_count = fields.Integer("Project Count", compute='_compute_project_count')