pos_custom_receipt/__manifest__.py

35 lines
1.8 KiB
Python

{
'name': 'POS Custom Receipt',
'version': '1.0',
'category': 'Sales/Point of Sale',
'summary': 'Customizes the POS receipt to hide and change certain information.',
'author': 'Abdul Aziz Amrullah',
'description': """
POS Custom Receipt
==================
This module customizes the printed receipt in the Point of Sale module to match specific business requirements.
Key Features:
- **Tracking Number**: Hides the tracking number in the receipt header.
- **Ticket Prefix**: Changes the "Ticket" prefix to "NO" in the header reference.
- **Address & Email**: Hides the company/branch address and email in the receipt footer.
- **Phone Prefix**: Changes the "Tel:" prefix to "Contact:" for the company phone number in the footer.
- **Pro Forma Receipt**: Changes the default "Pro forma receipt" text to "!!! INI ADALAH TAGIHAN SEMENTARA, BUKAN BUKTI PEMBAYARAN !!!" for early/unpaid bills.
- **Basic Receipt Improvements**: Hides the "Pro forma receipt" text, receipt header, and receipt footer on Basic Receipts. Ensures both Customer Notes and Internal Notes are fully visible on the printed Basic Receipt.
- **Odoo Branding**: Removes the "Powered by Odoo" text in the receipt footer.
- **Print Margin**: Removes the top, right, and bottom margins from the print page, ensuring the content aligns closely with the paper edges while keeping the default left margin.
""",
'depends': ['point_of_sale', 'pos_restaurant', 'pos_hr'],
'data': [],
'assets': {
'point_of_sale._assets_pos': [
'pos_custom_receipt/static/src/xml/receipt_overrides.xml',
'pos_custom_receipt/static/src/css/receipt.css',
'pos_custom_receipt/static/src/js/orderline.js',
],
},
'installable': True,
'application': False,
'license': 'LGPL-3',
}