Skip to content

Commit

Permalink
[IMP] website_sale_order_to_cart: Remove Accept and Pay button
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Oct 2, 2024
1 parent 9383393 commit 3bc7c71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website_sale_order_to_cart/views/website_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,17 @@
</div>
</t>
</xpath>

<xpath expr="//a[@id='o_sale_portal_paynow']" position="attributes">
<attribute name="t-if">False</attribute>
</xpath>

<xpath
expr="//div[@id='sale_order_communication']/preceding-sibling::div[1]"
position="attributes"
>
<attribute name="t-if">False</attribute>
</xpath>

</template>
</odoo>

0 comments on commit 3bc7c71

Please sign in to comment.