Skip to content

Commit

Permalink
[IMP] account: Change 'Miscellaneous' menu to 'Journals'
Browse files Browse the repository at this point in the history
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#106749

Task: 3083921
X-original-commit: ee551d7
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
  • Loading branch information
antoine162 committed Nov 28, 2022
1 parent 091dfca commit d76e3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/account/views/account_menuitem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion addons/account/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d76e3bb

Please sign in to comment.