forked from alaguraj/odoo-testing-addons
implement custom checkout address form with order type selector and delivery/pickup toggle logic
This commit is contained in:
parent
6d67ae9f47
commit
ccc8dcd753
@ -381,11 +381,8 @@
|
|||||||
|
|
||||||
<!-- 2. CART SUMMARY OVERRIDES FOR UBER -->
|
<!-- 2. CART SUMMARY OVERRIDES FOR UBER -->
|
||||||
<!-- Hide Uber fee from the list of items in the sidebar summary -->
|
<!-- Hide Uber fee from the list of items in the sidebar summary -->
|
||||||
<template id="chennora_cart_summary_uber_hide" inherit_id="website_sale.cart_summary" name="Chennora Cart Summary Uber Hide">
|
<template id="chennora_cart_summary_uber_hide" inherit_id="website_sale.checkout_layout" name="Chennora Cart Summary Uber Hide">
|
||||||
<xpath expr="//table[.//div[@name='website_sale_cart_summary_line_name']]" position="attributes">
|
<xpath expr="//table[@id='cart_products']//tr" position="attributes">
|
||||||
<attribute name="t-if">website_sale_order and website_sale_order.website_order_line</attribute>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//tr[contains(@class, 'o_wsale_cart_summary_line') or .//div[@name='website_sale_cart_summary_line_name']]" position="attributes">
|
|
||||||
<attribute name="t-if">line.product_id.name != 'Uber Delivery Fee'</attribute>
|
<attribute name="t-if">line.product_id.name != 'Uber Delivery Fee'</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user