summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-01-22 09:10:51 +0000
committerThibault Francois <tfr@openerp.com>2020-01-23 10:35:58 +0000
commit00aae709f18e5d37dc267dfa91860534860a479e (patch)
tree4c21d3145a4563a40be903544f6489d961f12e89
parentd0f86ec9c377b8742958f4eb5687874d526dc75e (diff)
[FIX] hr_holidays: remove default view_id from saas-12.3
The order of the view is gantt,calendar,list but if you come form the saas-12.3 the view_id will remain defined with a calendar view So we need to erase that value to have the gantt view by default closes odoo/odoo#43829 X-original-commit: 3415ebd5702094d6903b1f4aa550c45d8d74da32 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
-rw-r--r--addons/hr_holidays/views/hr_leave_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml
index 274249d40d8..6097d92e7eb 100644
--- a/addons/hr_holidays/views/hr_leave_views.xml
+++ b/addons/hr_holidays/views/hr_leave_views.xml
@@ -537,6 +537,7 @@
}</field>
<field name="domain">[('holiday_type','=','employee'), ('state', '!=', 'refuse')]</field>
<field name="search_view_id" ref="view_hr_holidays_filter"/>
+ <field name="view_id" />
</record>
<record id="hr_leave_action_new_request" model="ir.actions.act_window">