From ccf8ca3c04513e27c026688b7c1e0969a3b7d02c Mon Sep 17 00:00:00 2001 From: Valentin Chevalier Date: Thu, 28 Apr 2022 08:24:25 +0000 Subject: [PATCH] [FIX] payment: show capture&void buttons to the right users Users without the right permission see the buttons but can't use them. Capture and void buttons are now only visible and usable for admin or users in account.group_account_invoice group (for invoicing module). task-2785144 X-original-commit: db6b54cc49ba7d9266e766112017604ed98c2cb3 Part-of: odoo/odoo#91923 --- addons/payment/views/account_invoice_views.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/payment/views/account_invoice_views.xml b/addons/payment/views/account_invoice_views.xml index f3ee42b535c..c6fb4ed6297 100644 --- a/addons/payment/views/account_invoice_views.xml +++ b/addons/payment/views/account_invoice_views.xml @@ -15,9 +15,11 @@