Merge pull request #2349 from expsa/Esraa-Ensan-hr-tasks
training security
This commit is contained in:
commit
7f1ba4b342
|
|
@ -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"/>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue