Skip to content

Commit

Permalink
[FIX] portal_holidays: fix access to hr_holidays for internal users
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasperalta1 committed Nov 2, 2022
1 parent 8b5c880 commit 123f216
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion portal_holidays/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Portal Holidays',
'version': '13.0.1.0.0',
'version': '13.0.1.1.0',
'category': 'Base',
'sequence': 14,
'summary': '',
Expand Down
8 changes: 0 additions & 8 deletions portal_holidays/security/portal_holidays.xml
Expand Up @@ -14,14 +14,6 @@
<field name="groups_id" eval="(4, ref('portal_holidays.portal_holidays'))"/>
</record>

<record id="hr_holidays.menu_open_employee_leave" model="ir.ui.menu">
<field name="groups_id" eval="(4, ref('portal_holidays.portal_holidays'))"/>
</record>

<record id="hr_holidays.menu_open_department_leave_approve" model="ir.ui.menu">
<field name="groups_id" eval="(4, ref('portal_holidays.portal_holidays'))"/>
</record>

<!-- La siguiente linea va en el módulo de personalizaciones de la empresa que requiera este módulo -->
<!-- <record id="base.group_portal" model="res.groups">
<field name="implied_ids" eval="[(4, ref('portal_holidays.portal_holidays'))]"/>
Expand Down

0 comments on commit 123f216

Please sign in to comment.