Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][FIX] accounting menu not translatable #2675

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions l10n_it_account/views/account_menuitem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,29 @@
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->

<odoo>
<!-- accounting label -->
<record id="account.menu_finance" model="ir.ui.menu">
<field name="name">Accounting</field>
</record>
<!-- accounting menu -->
<menuitem name="Accounting"
id="menu_account"
groups="account.group_account_user,account.group_account_manager,account.group_account_invoice"
web_icon="account,static/description/icon.png"
sequence="40"/>

<record id="account.menu_board_journal_1" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
<record id="account.menu_finance_receivables" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
<record id="account.menu_finance_payables" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
<record id="account.menu_finance_entries" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
<record id="account.menu_finance_reports" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
<record id="account.menu_finance_configuration" model="ir.ui.menu">
<field name="parent_id" ref="menu_account"/>
</record>
</odoo>
2 changes: 1 addition & 1 deletion l10n_it_ricevute_bancarie/views/riba_view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<menuitem name="C/O" parent="account.menu_finance" id="menu_riba" />
<menuitem name="C/O" parent="l10n_it_account.menu_account" id="menu_riba" />

<!-- ====================================================== -->
<!-- DISTINTA RIBA - FILTRI -->
Expand Down