Skip to content

Commit

Permalink
[FIX][hr_holidays_settings] Make 'Leave Types' view accessible (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow authored and feketemihai committed Nov 27, 2017
1 parent 8848588 commit 1d8f70a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hr_holidays_settings/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "HR Holidays Settings",
"summary": "Enables Settings Form for HR Holidays.",
"version": "10.0.1.0.0",
"version": "10.0.1.1.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "Eficent, Odoo Community Association (OCA)",
Expand Down
7 changes: 7 additions & 0 deletions hr_holidays_settings/views/hr_holidays_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

<record id="hr_holidays_config_settings_action" model="ir.actions.act_window">
<field name="name">Configure HR Holidays</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">hr.holidays.config.settings</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
Expand All @@ -32,4 +34,9 @@
action="hr_holidays_config_settings_action"
groups="base.group_system"/>

<menuitem id="menu_hr_holidays_status" name="Leave Types"
parent="hr_holidays.menu_hr_holidays_configuration" sequence="10"
action="hr_holidays.open_view_holiday_status"
groups="base.group_system"/>

</odoo>

0 comments on commit 1d8f70a

Please sign in to comment.