From 98b0f01fc57470ce1a9e2a12fd9173b3b131cbcc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Jun 2020 10:06:18 +0000 Subject: [PATCH] [FIX] payment: mask payment method keys in onboarding dialog Before this commit the tokens from payment providers (PayPal, Stripe) are shown in plain text in the onboarding wizard. This means that anyone with accounting rights can grab & copy tokens for PayPal & Stripe. After this commit they're shielded off with a password=True option so they're not directly readable and copyable. Steps to reproduce: Open an Odoo instance, go to Accounting > Invoices and click on the 'Set Payments' option for the onboarding wizard. Next choose Paypal or Credit card in the dialog and see how tokens are shown in plain-text. closes odoo/odoo#54861 X-original-commit: 65e201ecee3bc145c2ae76d59b6d2fd31c737872 Signed-off-by: Olivier Dony (odo) --- .../payment/views/payment_acquirer_onboarding_templates.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/payment/views/payment_acquirer_onboarding_templates.xml b/addons/payment/views/payment_acquirer_onboarding_templates.xml index a9d201a585f..c2e68bb19d4 100644 --- a/addons/payment/views/payment_acquirer_onboarding_templates.xml +++ b/addons/payment/views/payment_acquirer_onboarding_templates.xml @@ -39,7 +39,7 @@ - +

Start selling directly without an account; an email will be sent by Paypal to create your new account and collect your payments. @@ -52,9 +52,9 @@

- -