30 lines
1.4 KiB
Python
30 lines
1.4 KiB
Python
{
|
|
'name': 'POS Export BC Format',
|
|
'version': '1.0',
|
|
'category': 'Point of Sale',
|
|
'summary': 'Export POS orders to BC Excel format',
|
|
'author': 'Abdul Aziz Amrullah',
|
|
'description': """
|
|
This module adds a wizard in the POS backend to export POS Orders
|
|
into a specific BC Excel format ("MIE MAPAN INVOICES").
|
|
|
|
Key Features:
|
|
- Order-level row aggregation for totals, taxes, and payments.
|
|
- Splits data dynamically into 'Invoice' (positive) and 'Refund' (negative) sheets.
|
|
- Calculates 'Dinein' and 'Takeaway' explicitly based on whether a table is assigned.
|
|
- Intelligent fallback for the 'Table/Customer' column prioritizes table number, then floating order name, and finally customer name.
|
|
- Integrates with Odoo Studio custom field 'x_studio_bc_item_id' for product mapping.
|
|
- Dynamic order-level discount calculation by aggregating pre-tax negative price items.
|
|
- Text-based date formatting to prevent spreadsheet auto-format issues.
|
|
- Smart max-length Excel filename generation utilizing the Company Registry and shortened dates.
|
|
""",
|
|
'depends': ['point_of_sale'],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'wizard/pos_export_bc_wizard_views.xml',
|
|
],
|
|
'installable': True,
|
|
'application': False,
|
|
'license': 'LGPL-3',
|
|
}
|