1

I'm trying to customize pos receipt in odoo 14 ce but it not work help me please this is my code

 <?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="//div[@class='pos-receipt-contact']" position="inside">
            <div>Customer name: <span t-esc="receipt.client"/></div>
        </xpath>

    </t>
</templates> 

0 Answers0