From b623a14105715220d8553d923f9537cccaf571ee Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Wed, 18 Mar 2026 07:50:47 +0700 Subject: [PATCH] first commit --- __init__.py | 1 + __manifest__.py | 46 +++++++ __pycache__/__init__.cpython-310.pyc | Bin 0 -> 186 bytes __pycache__/__init__.cpython-312.pyc | Bin 0 -> 172 bytes .../order_widget/order_widget.xml | 14 ++ static/src/app/navbar/closing_popup.xml | 71 ++++++++++ static/src/app/pages/confirmation_page.xml | 33 +++++ .../receipt_screen/receipt/receipt_screen.xml | 8 ++ static/src/css/pos_receipt_custom.css | 122 ++++++++++++++++++ 9 files changed, 295 insertions(+) create mode 100755 __init__.py create mode 100755 __manifest__.py create mode 100755 __pycache__/__init__.cpython-310.pyc create mode 100644 __pycache__/__init__.cpython-312.pyc create mode 100755 static/src/app/generic_components/order_widget/order_widget.xml create mode 100755 static/src/app/navbar/closing_popup.xml create mode 100755 static/src/app/pages/confirmation_page.xml create mode 100755 static/src/app/screens/receipt_screen/receipt/receipt_screen.xml create mode 100755 static/src/css/pos_receipt_custom.css 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 0000000000000000000000000000000000000000..8d69e55d22bfa3884a045655d9406368eb289b0a GIT binary patch literal 186 zcmd1j<>g`kg5*Q%GbDlZV-N=!FakLaKwQiMBvKfH88jLFRx%WUgb~EASpAIr+*JMI z(u~xiluEtI#N_-Whup-1#5}#^e7(#R{ea4njQqUh{FGGv{FMBBLv#J)(&Cc*+{BcW z{Jdf)C%z!RIKC(~IW@DOL_a=0GcU6wK3=b&@)n0pZhlH>PO2Tq+F~Xk!NLFl>yKC=KtrZZGBXfpb(WGG?+@;-yq{PNb%$j?pHFD}hU zElR1>52!53$j?j8Pf69!Psz_WG}liqEiTE=O-xD2&nt#<;tTSN + + + + + + + + + + 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 @@ + + + +