From 30ee75cbff010c349819eff58c14daf92f0aca58 Mon Sep 17 00:00:00 2001 From: pedrambiria Date: Fri, 14 Apr 2023 15:00:29 +0000 Subject: [PATCH] [FIX] payment_stripe: `provider_sudo` has been changed to `provider` After this commit https://github.com/odoo/odoo/commit/e534ab41e7b3b71a8286eba849fd4d70f4b27334 the `provider_sudo` has been refactored to `provider`. But in the `saas_payment_stripe`, it still uses `provider_sudo`. So it will cause an error in the saas databases. opw-3271034 closes odoo/odoo#118748 X-original-commit: 3dde24f28ff338a98e6f88641ab592f0b4e6eba6 Signed-off-by: Valentin Chevalier --- addons/payment/views/payment_templates.xml | 6 +++--- .../payment_stripe/views/payment_stripe_templates.xml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/payment/views/payment_templates.xml b/addons/payment/views/payment_templates.xml index 3dc2d0f9611..40fd5942ab9 100644 --- a/addons/payment/views/payment_templates.xml +++ b/addons/payment/views/payment_templates.xml @@ -377,12 +377,12 @@ t-att-data-shipping-address-update-route="shipping_address_update_route" t-att-data-express-checkout-route="express_checkout_route" t-att-data-landing-route="landing_route"> - + + t-value="provider_sudo.express_checkout_form_view_id.xml_id"/> - + diff --git a/addons/payment_stripe/views/payment_stripe_templates.xml b/addons/payment_stripe/views/payment_stripe_templates.xml index 7caa991a439..1b551a86088 100644 --- a/addons/payment_stripe/views/payment_stripe_templates.xml +++ b/addons/payment_stripe/views/payment_stripe_templates.xml @@ -3,11 +3,11 @@