Add help text to Available on timesheets

issue11803
review439641003
This commit is contained in:
Cédric Krier committed 2022-11-05 10:01:58 +01:00
1 parent 45271206ab
commit bf5b57766b
1 file changed
+3 -2
+3 -2
View File
@@ -144,8 +144,9 @@ class Work(sequence_ordered(), tree(separator='\\'), ModelSQL, ModelView):
})
timesheet_works = fields.One2Many(
'timesheet.work', 'origin', 'Timesheet Works', readonly=True, size=1)
timesheet_available = fields.Function(
fields.Boolean('Available on timesheets'),
timesheet_available = fields.Function(fields.Boolean(
"Available on timesheets",
help="Check to record time spent."),
'get_timesheet_available', setter='set_timesheet_available')
timesheet_start_date = fields.Function(fields.Date('Timesheet Start',
states={