What is the way to customize Odoo POS Receipt?
Published on February 7th 2023

Here is a look of POS screen to give you a glimpse of how it looks:


We will briefly tell you the way you can customize your Odoo POS receipt.
Here is a list of some steps we are going to do for the POS receipt customization. Foremost, Initiate the ‘point_of_sale’ module in Odoo by creating a custom module. Secondly, navigate the template of POS receipt in ‘point_of_sale’ module in Odoo. Last but not least, make changes to the POS receipt template. Let’s dive deep into it: Foremost, there is a need for inheriting the POS Receipt from the ‘point_of_sale’ module. Here, we make use of a custom module for customizing the POS receipt in Odoo. Suppose, you don’t have any idea regarding the process of creating a custom module, you can read our below-mentioned post. The template for POS receipt comes by default is also present on the ‘pos.xml’ file. You will find the file in ‘point_of_sale > static > src > XML’ folder in the POS module. Before the Odoo 13 version, there used to be different templated for the receipt that comes up on the screen and the receipt that comes out of the printer. When it comes to newer versions of Odoo, here you will get a single template for both. Here, you will inherit this template & make any custom changes in this template.
- templates id= “template” ; because we are inheriting the template record.
- <t t-extend="OrderReceipt"> ; Extending the template ‘OrderReceipt’.
- <t t-jquery=".pos-receipt .pos-receipt-contact" t-operation='append'> ; Here we will be mentioning the name of the class that we are applying operation on. In such situations, you have to inherit the ‘pos-receipt-contact’ class of the ‘pos-receipt’ class. Besides this, you need to mention the operation that is to be performed. Here, we will add the ‘client name’ to the ‘pos-receipt-contact’ class so we’ll use ‘append’.
- <div>Client:<t t-esc='receipt.client' /></div> ; Adding the Client name to the receipt.



Related Blogs

Businesses today are evolving at an unprecedented rate. Customers need to be understood, prioritized, and assisted in completing the ‘perfect’ purchase experience.
Author: Jigar Jariwala

The difference between an organization’s growth and scalability lies in its adaptability. Organizations that cannot innovate and optimize their processes tend to be left behind.
Author: Jigar Jariwala

In today’s fast-paced corporate world, efficiency is critical. Companies constantly seek new methods to simplify processes, save costs, and increase productivity. Odoo, with its modular and adaptable ERP system, has…
Author: Jigar Jariwala