[IMP] hr_timesheet: use the approver word instead of manager in timesheet

In this commit, the approver word is used instead of a manager because someone
else approves the timesheet.

Technical:

Modified the field name and some strings.
-reminder_manager_allow -> reminder_approver_allow
-manager -> approver

task-2893556

Part-of: odoo/odoo#96330
This commit is contained in:
Kartik Chavda
2022-11-30 20:03:11 +01:00
parent 3e4b266fd1
commit eb74950670
2 changed files with 5 additions and 5 deletions
@@ -12,7 +12,7 @@ class ResConfigSettings(models.TransientModel):
module_project_timesheet_holidays = fields.Boolean("Time Off",
compute="_compute_timesheet_modules", store=True, readonly=False)
reminder_user_allow = fields.Boolean(string="Employee Reminder")
reminder_manager_allow = fields.Boolean(string="Manager Reminder")
reminder_allow = fields.Boolean(string="Approver Reminder")
project_time_mode_id = fields.Many2one(
'uom.uom', related='company_id.project_time_mode_id', string='Project Time Unit', readonly=False,
help="This will set the unit of measure used in projects and tasks.\n"
@@ -88,13 +88,13 @@
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="reminder_manager_allow" widget="upgrade_boolean"/>
<field name="reminder_allow" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane" id="reminder_manager_allow">
<label for="reminder_manager_allow"/>
<div class="o_setting_right_pane" id="reminder_allow">
<label for="reminder_allow"/>
<span class="fa fa-lg fa-building-o " title="Values set here are company-specific." groups="base.group_multi_company"/>
<div class="text-muted">
Send a periodical email reminder to timesheets managers<br/>
Send a periodical email reminder to timesheets approvers<br/>
that still have timesheets to validate
</div>
</div>