Skip to content

Commit

Permalink
[14.0][IMP] website_sale_checkout_skip_payment: hide new payment message
Browse files Browse the repository at this point in the history
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.
odoo/odoo@3c43edc
  • Loading branch information
miguel-S73 committed Feb 15, 2023
1 parent 44ad9cf commit d1842fc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
name="t-if"
>not website_sale_order.amount_total and not website.checkout_skip_payment</attribute>
</xpath>
<xpath expr="//div[@t-if='not (acquirers or tokens)']" position="attributes">
<attribute name="t-if" separator=" " add=" and not website.checkout_skip_payment" />
</xpath>
</template>
<template id="confirmation" inherit_id="website_sale.confirmation">
<xpath
Expand Down

0 comments on commit d1842fc

Please sign in to comment.