From 8291fae0ef268125484eedd32a5ff3442d75ad5b Mon Sep 17 00:00:00 2001 From: MaxLarue Date: Mon, 26 Aug 2019 09:32:02 +0000 Subject: [PATCH] [IMP] hr_timesheet: rename allow timesheet into timesheet Since this settings widget is a check-box it is already obvious that this field turn on or off a feature. Plus it makes the field easier to translate and the form view a little bit lighter. related task 2047389 --- addons/hr_timesheet/models/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet/models/project.py b/addons/hr_timesheet/models/project.py index 7090c1b3d02..f28920772ae 100644 --- a/addons/hr_timesheet/models/project.py +++ b/addons/hr_timesheet/models/project.py @@ -8,7 +8,7 @@ from odoo.exceptions import UserError, ValidationError class Project(models.Model): _inherit = "project.project" - allow_timesheets = fields.Boolean("Allow timesheets", default=True, help="Enable timesheeting on the project.") + allow_timesheets = fields.Boolean("Timesheets", default=True, help="Enable timesheeting on the project.") @api.onchange('partner_id') def _onchange_partner_id(self):