| static/src/xml | ||
| __init__.py | ||
| __manifest__.py | ||
| .gitignore | ||
| README.md | ||
POS Custom Receipt
This custom module is designed for Odoo 19 to override and customize the standard Point of Sale (POS) receipts, specifically adjusting the layout and content of the receipt header and footer. It provides a cleaner and more business-specific printed receipt.
Features
-
Hide Tracking Number: Removes the short
tracking_numberelement from the top of the receipt header to avoid confusion with the main POS reference number. -
Custom Ticket Prefix: Replaces the default "Ticket" text prefix with "NO" on the main receipt reference sequence (e.g., instead of "Ticket 0001", it prints "NO 0001").
-
Custom "Pro Forma" Text: When using the Early Receipt or Bill printing feature (before payment is finalized), Odoo natively prints "Pro forma receipt". This module replaces that text with an attention-grabbing "!!! INI ADALAH TAGIHAN SEMENTARA, BUKAN BUKTI PEMBAYARAN !!!". Furthermore, this text is explicitly hidden when printing a Basic Receipt (gift receipt without prices).
-
Address & Email Removal: Hides the detailed company/branch address and the company email from the receipt footer, keeping the receipt concise.
-
Remove Odoo Branding: Hides the "Powered by Odoo" text and logo from the bottom of the receipt footer.
Technical Details
The module utilizes Odoo's OWL xpath inheritance mechanism to modify the front-end QWeb templates dynamically.
pos_custom_receipt.ReceiptHeaderextendspoint_of_sale.ReceiptHeader.pos_custom_receipt.OrderReceiptextendspoint_of_sale.OrderReceipt.
Dependencies:
point_of_sale: Base module for the POS system.pos_restaurant: Required to ensure the proper loading sequence for overriding the "Pro forma receipt" text, which is inherently injected by the restaurant module.
Installation
- Place the
pos_custom_receiptdirectory into your Odoocustomaddons path. - Enable Developer Mode in Odoo.
- Go to Apps -> Update Apps List.
- Search for "POS Custom Receipt" and click Install.
- Once installed, refresh your POS session to load the updated XML assets.
Compatibility
- Odoo Version: 19.0
- Tested on standard POS and POS Restaurant profiles.