[IMP]hr_attendance: change field string, add tooltip on field and change description on attendance error wizard
This commit is contained in:
committed by
Richard Mathot
parent
98d0e3cc4b
commit
bb6f9797a2
@@ -14,7 +14,8 @@ class hr_attendance_error(osv.osv_memory):
|
||||
_columns = {
|
||||
'init_date': fields.date('Starting Date', required=True),
|
||||
'end_date': fields.date('Ending Date', required=True),
|
||||
'max_delay': fields.integer('Max. Delay (Min)', required=True)
|
||||
'max_delay': fields.integer('Maximum Tolerance (in minutes)', required=True,
|
||||
help="Allowed difference in minutes between the signin/signout and the timesheet computation for one sheet. Set this to 0 for no tolerance.")
|
||||
}
|
||||
_defaults = {
|
||||
'init_date': lambda *a: time.strftime('%Y-%m-%d'),
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<field name="end_date"/>
|
||||
<field name="max_delay"/>
|
||||
</group>
|
||||
<label string="Bellow this delay, the error is considered to be voluntary" colspan="2"/>
|
||||
<label string="Below the maximum tolerance, the attendance error will not be taken into account. Above the maximum tolerance, the error is considered to be voluntary and will be taken into account." colspan="2"/>
|
||||
<footer>
|
||||
<button name="print_report" string="Print" type="object" class="oe_highlight"/>
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user