From f8a06348991f423d06d3319582006cdbe74982c4 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 20 Sep 2016 09:54:16 +0200 Subject: [PATCH] [FIX] hr_expense: Add coherence between menuitems and action title --- addons/hr_expense/i18n/hr_expense.pot | 13 ++++++------- addons/hr_expense/views/hr_expense_views.xml | 8 ++++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/addons/hr_expense/i18n/hr_expense.pot b/addons/hr_expense/i18n/hr_expense.pot index edc3c84a67d..c9704fa222f 100644 --- a/addons/hr_expense/i18n/hr_expense.pot +++ b/addons/hr_expense/i18n/hr_expense.pot @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * hr_expense +# * hr_expense # msgid "" msgstr "" @@ -132,6 +132,7 @@ msgid "Alias Domain" msgstr "" #. module: hr_expense +#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_all #: model:ir.ui.menu,name:hr_expense.menu_hr_expense_sheet_all_all msgid "All Expense Reports" msgstr "" @@ -441,16 +442,19 @@ msgid "Expense Reports To Approve" msgstr "" #. module: hr_expense +#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_pay #: model:ir.ui.menu,name:hr_expense.menu_hr_expense_sheet_all_to_pay msgid "Expense Reports To Pay" msgstr "" #. module: hr_expense +#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_post #: model:ir.ui.menu,name:hr_expense.menu_hr_expense_sheet_all_to_post msgid "Expense Reports To Post" msgstr "" #. module: hr_expense +#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_approve #: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_department_to_approve msgid "Expense Reports to Approve" msgstr "" @@ -642,7 +646,7 @@ msgstr "" #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_id #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_refuse_wizard_id #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_register_payment_wizard_id -#: model:ir.model.fields,field_description:hr_expense.field_hr_expense_sheet_id_8884 +#: model:ir.model.fields,field_description:hr_expense.field_hr_expense_sheet_id_4544 msgid "ID" msgstr "" @@ -712,10 +716,6 @@ msgid "My Expenses to Submit" msgstr "" #. module: hr_expense -#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_all -#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_approve -#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_pay -#: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_all_to_post #: model:ir.actions.act_window,name:hr_expense.action_hr_expense_sheet_my_all #: model:ir.ui.view,arch_db:hr_expense.view_hr_expense_sheet_filter msgid "My Reports" @@ -1333,4 +1333,3 @@ msgstr "" #: model:ir.ui.view,arch_db:hr_expense.hr_expense_planner msgid "to describe
your experience or to suggest improvements!" msgstr "" - diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index 3c35430bf39..255778731b8 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -583,7 +583,7 @@ - My Reports + Expense Reports to Approve hr.expense.sheet tree,kanban,form,pivot,graph @@ -599,7 +599,7 @@ - My Reports + Expense Reports To Post hr.expense.sheet tree,kanban,form,pivot,graph @@ -615,7 +615,7 @@ - My Reports + Expense Reports To Pay hr.expense.sheet tree,kanban,form,pivot,graph @@ -631,7 +631,7 @@ - My Reports + All Expense Reports hr.expense.sheet pivot,graph,tree,kanban,form