From 7d254d3e3637461665a0a356f3b701bcaf39bbcf Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Mon, 3 Feb 2020 22:24:49 +0000 Subject: [PATCH] [FIX] hr_contract: provide filters for the activity widget Without these magic filters the various options in the activity widget (late, today, future) will show all activities instead. opw-2172833 closes odoo/odoo#45036 X-original-commit: 081cb02d554760be1da0d4d10ad9a287c7bf462e Signed-off-by: jorenvo --- addons/hr_contract/i18n/hr_contract.pot | 24 +++++++++++++++++-- .../hr_contract/views/hr_contract_views.xml | 7 ++++++ 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/addons/hr_contract/i18n/hr_contract.pot b/addons/hr_contract/i18n/hr_contract.pot index a5721f156f6..003ef903d82 100644 --- a/addons/hr_contract/i18n/hr_contract.pot +++ b/addons/hr_contract/i18n/hr_contract.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server saas~12.5\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-09 12:17+0000\n" -"PO-Revision-Date: 2019-09-09 12:17+0000\n" +"POT-Creation-Date: 2020-02-06 19:08+0000\n" +"PO-Revision-Date: 2020-02-06 19:08+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -341,6 +341,11 @@ msgstr "" msgid "Grey" msgstr "" +#. module: hr_contract +#: model_terms:ir.ui.view,arch_db:hr_contract.hr_contract_view_search +msgid "Future Activities" +msgstr "" + #. module: hr_contract #: model_terms:ir.ui.view,arch_db:hr_contract.hr_contract_view_search msgid "Group By" @@ -416,6 +421,11 @@ msgstr "" msgid "Last Updated on" msgstr "" +#. module: hr_contract +#: model_terms:ir.ui.view,arch_db:hr_contract.hr_contract_view_search +msgid "Late Activities" +msgstr "" + #. module: hr_contract #: model:ir.model.fields,field_description:hr_contract.field_hr_contract__message_main_attachment_id msgid "Main Attachment" @@ -539,6 +549,11 @@ msgstr "" msgid "Search Contract" msgstr "" +#. module: hr_contract +#: model_terms:ir.ui.view,arch_db:hr_contract.hr_contract_view_search +msgid "Show all records which have a next action date before today" +msgstr "" + #. module: hr_contract #: model:ir.model.fields,field_description:hr_contract.field_hr_contract__date_start msgid "Start Date" @@ -579,6 +594,11 @@ msgstr "" msgid "Type of the exception activity on record." msgstr "" +#. module: hr_contract +#: model_terms:ir.ui.view,arch_db:hr_contract.hr_contract_view_search +msgid "Today Activities" +msgstr "" + #. module: hr_contract #: model:ir.model.fields,field_description:hr_contract.field_hr_contract__message_unread msgid "Unread Messages" diff --git a/addons/hr_contract/views/hr_contract_views.xml b/addons/hr_contract/views/hr_contract_views.xml index ba2437cf666..1269d3242dd 100644 --- a/addons/hr_contract/views/hr_contract_views.xml +++ b/addons/hr_contract/views/hr_contract_views.xml @@ -132,6 +132,13 @@ + + +