From ee551d74557b889a463bd7dff234ff5f12539e4a Mon Sep 17 00:00:00 2001 From: "Antoine Dupuis (andu)" <andu@odoo.com> Date: Mon, 28 Nov 2022 13:07:16 +0000 Subject: [PATCH] [IMP] account: Change 'Miscellaneous' menu to 'Journals' In Odoo 16, we redesigned the `Accounting > Miscellaneous` menu to provide a convenient interface for inspecting any journal entry or journal item. As such, it no longer makes sense to call it 'Miscellaneous'. This commit aligns the name with the new functionality. We also remove the default filter of the 'Journal Entries' view, which restricted it to miscellaneous entries, and replace it with a filter on posted entries, consistent with the purpose of conveniently inspecting the accounting journals. closes odoo/odoo#106687 Task: 3083921 Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com> --- addons/account/views/account_menuitem.xml | 2 +- addons/account/views/account_move_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_menuitem.xml b/addons/account/views/account_menuitem.xml index 614a58e23822..85dcc0d9c03b 100644 --- a/addons/account/views/account_menuitem.xml +++ b/addons/account/views/account_menuitem.xml @@ -24,7 +24,7 @@ <menuitem id="menu_account_supplier" name="Vendors" action="account.res_partner_action_supplier" sequence="200"/> </menuitem> <menuitem id="menu_finance_entries" name="Accounting" sequence="4" groups="account.group_account_readonly"> - <menuitem id="menu_finance_entries_accounting_miscellaneous" name="Miscellaneous" sequence="1"> + <menuitem id="menu_finance_entries_accounting_miscellaneous" name="Journals" sequence="1"> <menuitem id="menu_action_move_journal_line_form" action="action_move_journal_line" groups="account.group_account_readonly" sequence="1"/> <menuitem id="menu_action_account_moves_all" action="action_account_moves_all" groups="account.group_account_readonly" sequence="10"/> </menuitem> diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index a0c2e51a44b6..5759e4b67a3c 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1435,7 +1435,7 @@ <field name="view_mode">tree,kanban,form</field> <field name="view_id" ref="view_move_tree"/> <field name="search_view_id" ref="view_account_move_filter"/> - <field name="context">{'default_move_type': 'entry', 'search_default_misc_filter':1, 'view_no_maturity': True}</field> + <field name="context">{'default_move_type': 'entry', 'search_default_posted':1, 'view_no_maturity': True}</field> <field name="help" type="html"> <p class="o_view_nocontent_smiling_face"> Create a journal entry -- GitLab