From f2ce4b4d46ab86cc2eea0219a58e5d60e315a3db Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 30 Mar 2023 13:46:31 +0000 Subject: [PATCH] [FIX] account_payment: show payment link action to accounting users The 'Generate payment link' action on account move records was only shown to the users of the group 'Show Full Accounting Feature' (and to salesman when sale is installed). This means that if you only have invoicing app (`account` module) installed, you don't see the action. This commit makes sure the action is visible to all accounting users, like the refund wizard. closes odoo/odoo#118800 X-original-commit: 8cf2aebe9582a12b0f2309f25844e0b2d82ed3e2 Signed-off-by: Antoine Vandevenne (anv) Signed-off-by: Victor Feyens (vfe) --- addons/account_payment/security/ir.model.access.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_payment/security/ir.model.access.csv b/addons/account_payment/security/ir.model.access.csv index 258607caf6d..64198ce3726 100644 --- a/addons/account_payment/security/ir.model.access.csv +++ b/addons/account_payment/security/ir.model.access.csv @@ -1,3 +1,3 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -payment_link_wizard,payment.link.wizard,payment.model_payment_link_wizard,account.group_account_user,1,1,1,0 +payment_link_wizard,payment.link.wizard,payment.model_payment_link_wizard,account.group_account_invoice,1,1,1,0 payment_refund_wizard,payment.refund.wizard,model_payment_refund_wizard,account.group_account_invoice,1,1,1,0