From 4b3265548764270a8043e41e65c280053919ad80 Mon Sep 17 00:00:00 2001 From: miguels73 <55379877+miguels73@users.noreply.github.com> Date: Wed, 15 Feb 2023 09:00:05 +0100 Subject: [PATCH] [14.0][IMP] website_sale_checkout_skip_payment: hide new payment message Odoo has recently added a new 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. https://github.com/odoo/odoo/commit/3c43edcb0fe4dddd06b0cac93a71b965fd1028ce --- website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst | 3 +++ .../views/website_sale_template.xml | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst b/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst index 4f2b621910..88ee5e36b6 100644 --- a/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst +++ b/website_sale_checkout_skip_payment/readme/CONTRIBUTORS.rst @@ -2,3 +2,6 @@ * David Vidal * Martin Wilderoth * Alexandre Díaz +* `Studio73 `_: + + * Miguel Gandia 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..8ac908bca7 100644 --- a/website_sale_checkout_skip_payment/views/website_sale_template.xml +++ b/website_sale_checkout_skip_payment/views/website_sale_template.xml @@ -42,6 +42,13 @@ name="t-if" >not website_sale_order.amount_total and not website.checkout_skip_payment + + +