restore product_update_price_last_purchase and pos_ticket_pricelist

This commit is contained in:
Luis 2024-12-30 17:12:50 +01:00
parent 412d897695
commit b5bb678cbc
16 changed files with 1296 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<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>
</xpath>
<xpath expr='//t[@t-if="receipt.company.website"]' position="attributes">
<attribute name="t-att-class">{'oe_hidden': True}</attribute>
</xpath>
</t>
</templates>