Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
330 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

thank you

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
ott 25
242
1
ott 25
320
1
set 25
336
1
set 25
416
2
set 25
568