[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:
MaxLarue
2019-09-18 12:05:19 +00:00
committed by Geoffroy Larue
parent 5c03820f87
commit 8291fae0ef
+1 -1
View File
@@ -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):