[FIX] hr_expense: Add coherence between menuitems and action title

This commit is contained in:
Yannick Tivisse
2016-09-20 10:04:20 +02:00
parent 78296e29ef
commit f8a0634899
2 changed files with 10 additions and 11 deletions
+6 -7
View File
@@ -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<br/> your experience or to suggest improvements!"
msgstr ""
+4 -4
View File
@@ -583,7 +583,7 @@
</record>
<record id="action_hr_expense_sheet_all_to_approve" model="ir.actions.act_window">
<field name="name">My Reports</field>
<field name="name">Expense Reports to Approve</field>
<field name="res_model">hr.expense.sheet</field>
<field name="view_mode">tree,kanban,form,pivot,graph</field>
<field name="search_view_id" ref="view_hr_expense_sheet_filter"/>
@@ -599,7 +599,7 @@
</record>
<record id="action_hr_expense_sheet_all_to_post" model="ir.actions.act_window">
<field name="name">My Reports</field>
<field name="name">Expense Reports To Post</field>
<field name="res_model">hr.expense.sheet</field>
<field name="view_mode">tree,kanban,form,pivot,graph</field>
<field name="search_view_id" ref="view_hr_expense_sheet_filter"/>
@@ -615,7 +615,7 @@
</record>
<record id="action_hr_expense_sheet_all_to_pay" model="ir.actions.act_window">
<field name="name">My Reports</field>
<field name="name">Expense Reports To Pay</field>
<field name="res_model">hr.expense.sheet</field>
<field name="view_mode">tree,kanban,form,pivot,graph</field>
<field name="search_view_id" ref="view_hr_expense_sheet_filter"/>
@@ -631,7 +631,7 @@
</record>
<record id="action_hr_expense_sheet_all_all" model="ir.actions.act_window">
<field name="name">My Reports</field>
<field name="name">All Expense Reports</field>
<field name="res_model">hr.expense.sheet</field>
<field name="view_mode">pivot,graph,tree,kanban,form</field>
<field name="search_view_id" ref="view_hr_expense_sheet_filter"/>