[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 odoo/odoo#31161
This commit is contained in:
David Monjoie
2019-02-15 18:01:31 +00:00
parent f34a7eddde
commit e154d2c17b
+1 -1
View File
@@ -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">