commit eb10846480afb502edc7868c9e9c2b1afd027c20 Author: suherdy.yacob@mapan.co.id Date: Tue Apr 8 08:41:34 2025 +0700 First Commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/custom_pos_receipt/__init__.py b/custom_pos_receipt/__init__.py new file mode 100644 index 0000000..40a96af --- /dev/null +++ b/custom_pos_receipt/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/custom_pos_receipt/__manifest__.py b/custom_pos_receipt/__manifest__.py new file mode 100644 index 0000000..388e9c6 --- /dev/null +++ b/custom_pos_receipt/__manifest__.py @@ -0,0 +1,43 @@ +# -*- 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'), + ], + '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/custom_pos_receipt/__pycache__/__init__.cpython-310.pyc b/custom_pos_receipt/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000..00b5465 Binary files /dev/null and b/custom_pos_receipt/__pycache__/__init__.cpython-310.pyc differ diff --git a/custom_pos_receipt/static/src/app/navbar/closing_popup.xml b/custom_pos_receipt/static/src/app/navbar/closing_popup.xml new file mode 100644 index 0000000..739964e --- /dev/null +++ b/custom_pos_receipt/static/src/app/navbar/closing_popup.xml @@ -0,0 +1,71 @@ + + + +