コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
337 ビュー

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

アバター
破棄
最善の回答

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


アバター
破棄
著作者

thank you

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
4
10月 25
247
1
10月 25
320
1
9月 25
337
1
9月 25
417
2
9月 25
569