Merge pull request #2349 from expsa/Esraa-Ensan-hr-tasks

training security
This commit is contained in:
Esraa-Exp 2025-02-11 12:44:47 +02:00 committed by GitHub
commit 7f1ba4b342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@
<button name="hr_aaproval" string="HR Approval" class="oe_highlight" type="object"
states="depart_manager"
groups="hr.group_hr_user"/>
groups="group_hr_training_user"/>
<button name="refused" string="Refused" class="oe_highlight" type="object"
states="depart_manager"
groups="hr_base.group_general_manager,hr_base.group_executive_manager"/>
<button name="approve" string="Approve" class="oe_highlight" type="object"
states="hr_aaproval" groups="hr.group_hr_user"/>
states="hr_aaproval" groups="group_hr_training_manager"/>
<button name="refused" string="Refused" class="oe_highlight" type="object"
states="hr_aaproval"
groups="hr_base.group_general_manager,hr_base.group_executive_manager"/>

View File

@ -14,7 +14,7 @@
parent="hr_employee_training_main_menu"
action="exp_official_mission.hr_employees_training_lines_action"
sequence="2"
groups="hr_base.group_division_manager"/>
groups="hr_base.group_division_manager,hr.group_hr_user"/>
<menuitem name="Configurations" id="hr_official_mission_config_menu"
parent="hr_employee_training_main_menu" sequence="3"