Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
245 Vistas

Hello everyone,

I’m using Odoo 19 (Enterprise on Odoo.sh) and I want to customize the POS printed receipt

/odoo/addons/point_of_sale/static/src/app/screens/receipt_screen/receipt_screen.xml


But I noticed this file only shows the receipt screen after payment (it calls <OrderReceipt order="this.currentOrder" />) — it doesn’t contain the actual printed layout.

Can someone please tell me:

  1. Where is the OrderReceipt (the actual print receipt template) located in Odoo 19?
  2. Which file should I modify (or extend) to customize the printed receipt layout?
  3. Is there a recommended way to override this (e.g., by extending the OrderReceipt template using a custom module)?

Thanks in advance for your help

Avatar
Descartar
Mejor respuesta

Hello  AljawahirSteel

This is the template where you can able to change inside the POS receipt:

point_of_sale\static\src\app\screens\receipt_screen\receipt\order_receipt.xml


Avatar
Descartar
Autor

thank you

Mejor respuesta

To customize the printed POS receipt in Odoo 19, you'll need to modify the correct QWeb template and ensure your changes are properly applied through a custom module.



  The actual print receipt template is often found within the Point of Sale module, but it's rendered dynamically.

  Create a custom module to inherit and extend the OrderReceipt template. The template's ID will be something like point_of_sale.receipt or a similar name depending on the exact Odoo version.

  In your custom module, create a new QWeb template that inherits from the original OrderReceipt template and add your customizations within this new template.

  Update your module manifest file to include the dependency on the point_of_sale module to ensure proper loading and inheritance.

  Consider exploring alternative solutions like POS WhatsApp integration for enhanced customer engagement, as discussed in this Pragmatic Techsoft blog post. This can help automate engagement, boost loyalty, and drive repeat sales beyond just modifying the receipt template.


Resources:
https://blog.pragtech.co.in/pos-whatsapp-integration-how-to-go-beyond-receipts-and-build-customer-relationships/#respond

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 25
109
1
oct 25
239
1
sept 25
309
1
sept 25
386
2
sept 25
543