Skip to content

Commit

Permalink
[IMP] website_sale_remove_pay_buttons: Remove buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Oct 17, 2024
1 parent fa521bf commit 2685c45
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions website_sale_remove_pay_buttons/views/website_sale_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,20 @@
<attribute name="t-if">False</attribute>
</xpath>
</template>

<template
id="sale_order_portal_template_inherit"
inherit_id="sale.sale_order_portal_template"
>
<xpath expr="//a[@id='o_sale_portal_paynow']" position="attributes">
<attribute name="t-if">False</attribute>
</xpath>
<xpath expr="//div[@id='quote_content']/div[8]" position="attributes">
<attribute name="t-if">False</attribute>
</xpath>

<xpath expr="//div[@id='quote_content']/div[1]/div[2]" position="attributes">
<attribute name="t-if">False</attribute>
</xpath>
</template>
</odoo>

0 comments on commit 2685c45

Please sign in to comment.