Skip to Content
Menu
This question has been flagged
1 Reply
817 Views

Hi,


Could anyone point me in the direction on how to change the text in the receipt footer that says Odoo Restaurant? 


Many thanks

Avatar
Discard
Best Answer

Hi, 

To remove 'Odoo Restuarant" from your restaurant receipt, you can inherit the template "pos_restaurant.OrderReceipt" in your custom module, and then replace the code


example:

<t t-name="inherit_OrderReceipt" t-inherit="pos_restaurant.OrderReceipt" t-inherit-mode="primary">

<xpath expr="//p[text()='Odoo Point of Sale']" position="replace">
<p t-if="props.data.isRestaurant"></p>
            <p t-else="">Odoo Point of Sale</p>
        </xpath>

</t>



Hope it helps

Avatar
Discard