Debian Codegraph @

addons/website_sale_collect/views/templates.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8" ?>
2 <odoo>
3
4 <template
5 id="payment_confirmation_status"
6 inherit_id="website_sale.payment_confirmation_status"
7 >
8 <div id="order_reference" position="replace">
9 <t t-if="tx_sudo.provider_id.custom_mode == 'on_site'">
10 <div class="mt-2">
11 <div class="o_header_carrier_message">
12 <b t-out="order.carrier_id.name"/>
13 <span class="text-muted"> (In-store pickup)</span>
14 </div>
15 <div class="o_body_carrier_message">
16 <t t-out="order.carrier_id.website_description"/>
17 </div>
18 </div>
19 </t>
20 <t t-else="">
21 <t>$0</t> <!-- Replaced by old content. -->
22 </t>
23 </div>
24 </template>
25
26 <template id="product_page_click_and_collect" inherit_id="website_sale.cta_wrapper">
27 <xpath expr="//div[@id='o_wsale_cta_wrapper']" position="before">
28 <owl-component
29 t-if="combination_info.get('show_click_and_collect_availability')"
30 name="website_sale_collect.ClickAndCollectAvailability"
31 t-att-props="json.dumps({
32 'productId': product_variant.id,
33 'zipCode': zip_code,
34 'showSelectStoreButton': show_select_store_button,
35 'selectedLocationData': selected_location_data or {},
36 'inStoreStockData': combination_info.get('in_store_stock_data', {}),
37 'deliveryStockData': combination_info.get('delivery_stock_data', {}),
38 })"
39 t-attf-class="d-flex o_not_editable mb-4 #{'w-100' if not is_50_pc else 'w-100 w-sm-75'}"
40 />
41 </xpath>
42 </template>
43
44 </odoo>