diff options
| author | Geoffroy Larue <gla@odoo.com> | 2019-05-09 14:21:02 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-05-24 09:20:05 +0000 |
| commit | 299a61ecbcdb25bdd0dc17fa1f4ed5fc68d96e26 (patch) | |
| tree | cce213f6d4892c07a19d4866b63fb939b79001aa | |
| parent | af86bc7288d252c6e1c3fe9b4fae3121ef459190 (diff) | |
[IMP] hr_timesheet: remove useless field
Remove the field company_uom_id as it is not used anymore.
Task-1975022
| -rw-r--r-- | addons/hr_timesheet/models/analytic_account.py | 1 |
1 files changed, 0 insertions, 1 deletions
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') |
