[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
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user