[MIG] website_search_products: Migration to 16.0
This commit is contained in:
parent
8fb784bdc3
commit
9846c183ec
5 changed files with 23 additions and 23 deletions
|
|
@ -1,21 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-extend="PosTicket">
|
||||
<t t-jquery="table.receipt-orderlines" t-operation="before">
|
||||
<t t-if="order.get_client()">
|
||||
<t t-if="order.get_client().property_product_pricelist">
|
||||
<t t-esc="order.get_client().property_product_pricelist[1]" /><br />
|
||||
</t>
|
||||
<br /><br />
|
||||
|
||||
<t
|
||||
t-name="OrderReceipt"
|
||||
t-inherit="point_of_sale.OrderReceipt"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr='//t[@t-if="receipt.cashier"]' position="after">
|
||||
<t t-if="props.order.pricelist">
|
||||
<t t-esc="props.order.pricelist.name" /><br />
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<t t-extend="XmlReceipt">
|
||||
<t t-jquery="[t-if='receipt.header_xml']" t-operation="after">
|
||||
<t t-if="order.get_client()">
|
||||
<t t-esc="order.get_client().property_product_pricelist[1] ? order.get_client().property_product_pricelist[1] : ''"/><br />
|
||||
</t>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr='//t[@t-if="receipt.company.website"]' position="attributes">
|
||||
<attribute name="t-att-class">{'oe_hidden': True}</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue