AVecinal/avecinal#10 Añadido módulo que añade la tarifa configurada en el cliente al ticket.
This commit is contained in:
parent
56b6dd758e
commit
5e8d01f6e6
3 changed files with 42 additions and 0 deletions
21
pos_ticket_pricelist/static/src/xml/pos.xml
Normal file
21
pos_ticket_pricelist/static/src/xml/pos.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?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>
|
||||
</t>
|
||||
|
||||
<t t-extend="XmlReceipt">
|
||||
<t t-jquery="[t-if='!receipt.company.logo']" 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>
|
||||
</t>
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue