|
@ -1,23 +1,22 @@ |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
<templates id="template" xml:space="preserve"> |
|
|
<templates id="template" xml:space="preserve"> |
|
|
<t t-name="ProductNoImage"> |
|
|
<t t-name="ProductNoImage"> |
|
|
<span class='product' t-att-data-product-id="product.id"> |
|
|
|
|
|
|
|
|
<article class='product' t-att-data-product-id="product.id" tabindex="0" t-attf-aria-labelledby="article_product_#{product.id}"> |
|
|
<div class="product-img-without-image"> |
|
|
<div class="product-img-without-image"> |
|
|
<t t-if="!product.to_weight"> |
|
|
<t t-if="!product.to_weight"> |
|
|
<span class="price-tag"> |
|
|
<span class="price-tag"> |
|
|
<t t-esc="widget.format_currency(product.price,'Product Price')"/> |
|
|
|
|
|
|
|
|
<t t-esc="widget.format_currency(product.get_price(pricelist, 1),'Product Price')"/> |
|
|
</span> |
|
|
</span> |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="product.to_weight"> |
|
|
<t t-if="product.to_weight"> |
|
|
<span class="price-tag"> |
|
|
<span class="price-tag"> |
|
|
<t t-esc="widget.format_currency(product.price,'Product Price')+'/'+widget.pos.units_by_id[product.uom_id[0]].name"/> |
|
|
|
|
|
|
|
|
<t t-esc="widget.format_currency(product.get_price(pricelist, 1),'Product Price')+'/'+widget.pos.units_by_id[product.uom_id[0]].name"/> |
|
|
</span> |
|
|
</span> |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
<div class="product-name-without-image"> |
|
|
|
|
|
|
|
|
<div class="product-name-without-image" t-attf-id="article_product_#{product.id}"> |
|
|
<t t-esc="product.display_name"/> |
|
|
<t t-esc="product.display_name"/> |
|
|
</div> |
|
|
</div> |
|
|
</span> |
|
|
|
|
|
|
|
|
</article> |
|
|
</t> |
|
|
</t> |
|
|
</templates> |
|
|
</templates> |
|
|
|
|
|
|