commit b623a14105715220d8553d923f9537cccaf571ee Author: Suherdy Yacob Date: Wed Mar 18 07:50:47 2026 +0700 first commit diff --git a/__init__.py b/__init__.py new file mode 100755 index 0000000..4c48b5a --- /dev/null +++ b/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/__manifest__.py b/__manifest__.py new file mode 100755 index 0000000..9ac9242 --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,46 @@ +# -*- 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'), + ], + + }, +} diff --git a/__pycache__/__init__.cpython-310.pyc b/__pycache__/__init__.cpython-310.pyc new file mode 100755 index 0000000..8d69e55 Binary files /dev/null and b/__pycache__/__init__.cpython-310.pyc differ diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000..8437377 Binary files /dev/null and b/__pycache__/__init__.cpython-312.pyc differ diff --git a/static/src/app/generic_components/order_widget/order_widget.xml b/static/src/app/generic_components/order_widget/order_widget.xml new file mode 100755 index 0000000..52473b7 --- /dev/null +++ b/static/src/app/generic_components/order_widget/order_widget.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + font-size: 10px + + + diff --git a/static/src/app/navbar/closing_popup.xml b/static/src/app/navbar/closing_popup.xml new file mode 100755 index 0000000..f589496 --- /dev/null +++ b/static/src/app/navbar/closing_popup.xml @@ -0,0 +1,71 @@ + + + +