Skip to content

Commit

Permalink
[14.0][IMP] website_sale_checkout_skip_payment: hide payment message
Browse files Browse the repository at this point in the history
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/pull/752
  • Loading branch information
miguel-S73 committed Feb 15, 2023
1 parent 2925cfd commit 7155a46
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
</form>
</div>
</xpath>
<xpath expr="//div[@id='payment_method']" position="attributes">
<attribute
name="t-if"
>(acquirers or tokens) and website_sale_order.amount_total and not website.checkout_skip_payment</attribute>
<xpath expr="//t[@t-if='website_sale_order.amount_total']" position="attributes">
<attribute name="t-if" separator=" " add="and not website.checkout_skip_payment" />
</xpath>
<xpath expr="//div[hasclass('js_payment')]" position="attributes">
<attribute
Expand Down

0 comments on commit 7155a46

Please sign in to comment.