Skip to content
Browse files

[FIX] hr_payroll: use calendar as default view

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 7d7666ac6549268b6af0da915ee91c74c53406d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/hr_payroll/views/hr_benefit_views.xml
@@ -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 id="hr_benefit_gantt" model="ir.ui.view">

0 comments on commit 7d7666a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.