From 73a61865631de203109a488ac8d7fafa77b744c2 Mon Sep 17 00:00:00 2001 From: miguels73 <55379877+miguels73@users.noreply.github.com> Date: Wed, 15 Feb 2023 17:16:05 +0100 Subject: [PATCH] [15.0][IMP] website_sale_checkout_skip_payment: hide payment message Alert message in the payment section of the web payment gateway so it is convenient for this module to hide this message when skip_website_checkout_payment is enabled. Detected on Odoo 14.0 OCA/e-commerce/pull/752 --- website_sale_checkout_skip_payment/README.rst | 3 +++ .../readme/CONTRIBUTORS.rst | 3 +++ .../static/description/index.html | 4 ++++ .../views/website_sale_template.xml | 11 ++++++++--- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/website_sale_checkout_skip_payment/README.rst b/website_sale_checkout_skip_payment/README.rst index e98c60d548..fc577a1bd7 100644 --- a/website_sale_checkout_skip_payment/README.rst +++ b/website_sale_checkout_skip_payment/README.rst @@ -78,6 +78,9 @@ Contributors * Alexandre Díaz * Carlos Roca * Martin Wilderoth +* `Studio73 `_: + + * Miguel Gandia Maintainers ~~~~~~~~~~~ diff --git a/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst b/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst index 4c650f2628..e6ca403773 100644 --- a/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst +++ b/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst @@ -5,3 +5,6 @@ * Alexandre Díaz * Carlos Roca * Martin Wilderoth +* `Studio73 `_: + + * Miguel Gandia diff --git a/website_sale_checkout_skip_payment/static/description/index.html b/website_sale_checkout_skip_payment/static/description/index.html index 221a83fc7b..fc4c95c250 100644 --- a/website_sale_checkout_skip_payment/static/description/index.html +++ b/website_sale_checkout_skip_payment/static/description/index.html @@ -428,6 +428,10 @@

Contributors

  • Martin Wilderoth <martin.wilderoth@linserv.se>
  • +
  • Studio73: +
  • diff --git a/website_sale_checkout_skip_payment/views/website_sale_template.xml b/website_sale_checkout_skip_payment/views/website_sale_template.xml index ee7258284b..5a79ac7523 100644 --- a/website_sale_checkout_skip_payment/views/website_sale_template.xml +++ b/website_sale_checkout_skip_payment/views/website_sale_template.xml @@ -32,10 +32,15 @@
    - - + (acquirers or tokens) and website_sale_order.amount_total and not website.checkout_skip_payment + separator=" " + add="and not website.checkout_skip_payment" + />