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 committed Dec 19, 2023
1 parent 2b823ab commit bcf6dc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion account_cashbox/__manifest__.py
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
8 changes: 8 additions & 0 deletions account_cashbox/views/menuitem.xml
@@ -0,0 +1,8 @@
<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_user'))]"/>
</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_user'))]"/>
</record>
</odoo>

0 comments on commit bcf6dc5

Please sign in to comment.