summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Morelle <pmo@odoo.com>2020-10-09 13:56:42 +0000
committerPaul Morelle <pmo@odoo.com>2020-10-09 13:56:42 +0000
commit76c2f412c09ef1169b5cf936f0770cd4200f29e2 (patch)
treefec943a00e34dbfb6a478cd31461c7ce4086f300
parent99fb65fa58a46ee7dcf6e91d617930005cccd154 (diff)
[FIX] hr_holidays: add explicit domain on action
In odoo/odoo@d2238de57630d58c4913ab44746476b83492c72f the domain of the action hr_holidays.hr_leave_action_action_approve_department has been removed, as the addon was reworked and no domain is needed any more. However, during a migration from a previous version, the older domain is not overwritten with an empty value. With this commit, the domain is set to an empty one, which allows the migration to correctly update the record. closes odoo/odoo#59656 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.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 10c122074df..721053a2d5f 100644
--- a/addons/hr_holidays/views/hr_leave_views.xml
+++ b/addons/hr_holidays/views/hr_leave_views.xml
@@ -646,6 +646,7 @@
'search_default_managed_people': 1,
'hide_employee_name': 1}
</field>
+ <field name="domain">[]</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Meet the time off dashboard.