Skip to content
Permalink
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.

closes #31161
  • Loading branch information...
dmo-odoo committed Feb 15, 2019
1 parent f34a7ed commit e154d2c17bc1bc638f19255ee78bdf6ae98b4191
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>

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

0 comments on commit e154d2c

Please sign in to comment.
You can’t perform that action at this time.