47 lines
2.1 KiB
Python
47 lines
2.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': "custom_pos_receipt",
|
|
|
|
'summary': "Change the receipt for Kedai Kipas 58",
|
|
|
|
'description': """
|
|
Change the Odoo Point of Sale text with Kedai Kipas 58
|
|
""",
|
|
|
|
'author': "Suherdy Yacob",
|
|
'license': "GPL-3",
|
|
'website': "",
|
|
|
|
# Categories can be used to filter modules in modules listing
|
|
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
|
|
# for the full list
|
|
'category': 'Customizations',
|
|
'version': '0.1',
|
|
|
|
# any module necessary for this one to work correctly
|
|
'depends': ['base','point_of_sale', 'pos_restaurant'],
|
|
|
|
# always loaded
|
|
'data': [
|
|
# 'security/ir.model.access.csv',
|
|
],
|
|
# only loaded in demonstration mode
|
|
'demo': [
|
|
],
|
|
'assets': {
|
|
'point_of_sale._assets_pos': [
|
|
'custom_pos_receipt/static/src/**/*',
|
|
('after', 'point_of_sale/static/src/scss/pos.scss', 'pos_restaurant/static/src/scss/restaurant.scss'),
|
|
('replace', 'point_of_sale/static/src/css/pos_receipts.css', 'custom_pos_receipt/static/src/css/pos_receipt_custom.css'),
|
|
('replace', 'point_of_sale/static/src/app/navbar/closing_popup/closing_popup.xml', 'custom_pos_receipt/static/src/app/navbar/closing_popup.xml'),
|
|
('replace', 'point_of_sale/static/src/app/generic_components/order_widget/order_widget.xml', 'custom_pos_receipt/static/src/app/generic_components/order_widget/order_widget.xml'),
|
|
# ('replace', 'point_of_sale/static/src/app/screens/receipt_screen/receipt/order_receipt.xml', 'custom_pos_receipt/static/src/app/screens/receipt_screen/receipt/order_receipt.xml'),
|
|
# ('replace', 'point_of_sale/static/src/app/screens/receipt_screen/receipt/receipt_header/receipt_header.xml', 'custom_pos_receipt/static/src/app/screens/receipt_screen/receipt/receipt_header.xml'),
|
|
],
|
|
'pos_self_order.assets': [
|
|
('replace','pos_self_order/static/src/app/pages/confirmation_page/confirmation_page.xml', 'custom_pos_receipt/static/src/app/pages/confirmation_page.xml'),
|
|
],
|
|
|
|
},
|
|
}
|