restore product_update_price_last_purchase and pos_ticket_pricelist
This commit is contained in:
parent
412d897695
commit
b5bb678cbc
16 changed files with 1296 additions and 0 deletions
20
pos_ticket_pricelist/static/src/xml/pos.xml
Normal file
20
pos_ticket_pricelist/static/src/xml/pos.xml
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue