Skip to content

Commit

Permalink
[FIX] hr_attendance_reason: show reasons config to attendance admins
Browse files Browse the repository at this point in the history
Users with no settings config wasn't seeing the reasons config menu even
having the attendances admin settings.

TT40775
  • Loading branch information
chienandalu committed Jan 3, 2025
1 parent 522e108 commit ce0ff56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hr_attendance_reason/views/hr_attendance_reason_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@
sequence="110"
groups="hr_attendance.group_hr_attendance_manager"
/>
<record id="hr_attendance.menu_hr_attendance_settings" model="ir.ui.menu">
<!-- We need to leave the action empty for consistency because we are going
to set different submenus, otherwise the configuration menu would not be
displayed to a basic user. !-->
<field name="action" eval="False" />
</record>
</odoo>

0 comments on commit ce0ff56

Please sign in to comment.