From 755b09c8dcf3e9e5cdb908eb6ff47f89bf6c9aae Mon Sep 17 00:00:00 2001 From: Olivier LAURENT Date: Mon, 20 Jul 2015 11:47:29 +0200 Subject: [PATCH] [FIX] hr_holidays: multiple fixes for search filters - Wrong 'year' filter that implemented in fact an 'active types' filter - Add a real 'year' filter - 'my leaves' uses directly the 'user_id' related field - 'My Department Leaves' filter that mixed ids from different models Closes #7685 --- addons/hr_holidays/hr_holidays_view.xml | 14 +++++++++++--- addons/hr_holidays/i18n/hr_holidays.pot | 10 ++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index f871bf8207d..7445b583f8c 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -1,3 +1,4 @@ + @@ -26,11 +27,18 @@ - + - + - + + + diff --git a/addons/hr_holidays/i18n/hr_holidays.pot b/addons/hr_holidays/i18n/hr_holidays.pot index 3c75b880cbd..678f0a4390f 100644 --- a/addons/hr_holidays/i18n/hr_holidays.pot +++ b/addons/hr_holidays/i18n/hr_holidays.pot @@ -42,6 +42,11 @@ msgstr "" msgid "Active" msgstr "" +#. module: hr_holidays +#: view:hr.holidays:hr_holidays.view_hr_holidays_filter +msgid "Active Types" +msgstr "" + #. module: hr_holidays #: view:hr.holidays:hr_holidays.allocation_company_new #: view:hr.holidays:hr_holidays.edit_holiday_new @@ -249,6 +254,11 @@ msgstr "" msgid "Current Leave Type" msgstr "" +#. module: hr_holidays +#: view:hr.holidays:hr_holidays.view_hr_holidays_filter +msgid "Current Year Leaves" +msgstr "" + #. module: hr_holidays #: help:hr.holidays,message_last_post:0 msgid "Date of the last message posted on the record."