Skip to content

Commit

Permalink
[IMP] link account.group_account_user in groups_id of bank and cash m…
Browse files Browse the repository at this point in the history
…enu and transfer
  • Loading branch information
maq-adhoc authored and rov-adhoc committed Jan 22, 2024
1 parent 7e68350 commit 137ed30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion account_cashbox/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'views/account_cashbox.xml',
'views/res_users_views.xml',
'views/account_payment.xml',
# 'views/templates.xml',
'views/menuitem.xml',
'wizards/account_cashbox_payment_import.xml',
],
"installable": True,
Expand Down
11 changes: 11 additions & 0 deletions account_cashbox/views/menuitem.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<odoo>
<record id="account_payment_group.menu_finance_bank_and_cash" model="ir.ui.menu">
<field name="groups_id" eval="[Command.link(ref('account.group_account_invoice'))]"/>
</record>
<record id="account_payment_group.menu_action_account_payments_transfer" model="ir.ui.menu">
<field name="groups_id" eval="[Command.link(ref('account.group_account_invoice'))]"/>
</record>
<record id="account_payment_group.menu_finance_bank_and_cash" model="ir.ui.menu">
<field name="groups_id" eval="[Command.link(ref('account.group_account_invoice'))]"/>
</record>
</odoo>

0 comments on commit 137ed30

Please sign in to comment.