You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
526 B

<?xml version="1.0" encoding="utf-8"?>
<!--extending the pos order receipt template for adding branch-->
<templates id="template" xml:space="preserve">
<t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt"
t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('pos-receipt-contact')]/t[1]" position="after">
<t t-if="env.pos.config.branch_id">
<div>Branch: <t t-esc="env.pos.config.branch_name"/></div>
</t>
</xpath>
</t>
</templates>