Skip to content

Commit

Permalink
[FIX] hr_payroll: use calendar as default view
Browse files Browse the repository at this point in the history
The webclient doesn't handle a non-existing view as the default
view. However, it must handle it correctly if it is not the
default one since it does it for mrp.production already.
  • Loading branch information
dmo-odoo committed Feb 15, 2019
1 parent b2149bc commit 7d7666a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/hr_payroll/views/hr_benefit_views.xml
Expand Up @@ -5,7 +5,7 @@
<field name="name">Benefit</field>
<field name="res_model">hr.benefit</field>
<field name="view_type">form</field>
<field name="view_mode">gantt,calendar,tree,form,pivot</field>
<field name="view_mode">calendar,gantt,tree,form,pivot</field>
</record>

<record id="hr_benefit_gantt" model="ir.ui.view">
Expand Down

0 comments on commit 7d7666a

Please sign in to comment.