Is it possible to eliminate the logo from appearing on Odoo17 POS receipt?

I am trying to eliminate the company logo from Odoo POS receipts.I tried to find POS receipt template and modified using xml but I could not succeed. Which is the receipt template and how to do it ?

This is my code>

<t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt">

<xpath expr="//t[@t-if='receipt.company.logo']" position="replace">

</xpath>

</t>

>Solution :

You could not succeed because you missed the xml attributes t-inherit-mode and owl.

<t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">

<xpath expr="//t[@t-if='receipt.company.logo']" position="replace">

</xpath>

</t>

Leave a Reply