From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/l10n_hk/__init__.py | 2 + addons/l10n_hk/__manifest__.py | 21 +++++++ addons/l10n_hk/data/account.account.template.csv | 68 +++++++++++++++++++++ .../data/account_chart_template_configure_data.xml | 6 ++ .../l10n_hk/data/account_chart_template_data.xml | 16 +++++ addons/l10n_hk/data/l10n_hk_chart_data.xml | 17 ++++++ addons/l10n_hk/demo/demo_company.xml | 35 +++++++++++ addons/l10n_hk/static/description/icon.png | Bin 0 -> 9378 bytes 8 files changed, 165 insertions(+) create mode 100644 addons/l10n_hk/__init__.py create mode 100644 addons/l10n_hk/__manifest__.py create mode 100644 addons/l10n_hk/data/account.account.template.csv create mode 100644 addons/l10n_hk/data/account_chart_template_configure_data.xml create mode 100644 addons/l10n_hk/data/account_chart_template_data.xml create mode 100644 addons/l10n_hk/data/l10n_hk_chart_data.xml create mode 100644 addons/l10n_hk/demo/demo_company.xml create mode 100644 addons/l10n_hk/static/description/icon.png (limited to 'addons/l10n_hk') diff --git a/addons/l10n_hk/__init__.py b/addons/l10n_hk/__init__.py new file mode 100644 index 00000000..67dee8c6 --- /dev/null +++ b/addons/l10n_hk/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/addons/l10n_hk/__manifest__.py b/addons/l10n_hk/__manifest__.py new file mode 100644 index 00000000..881c3887 --- /dev/null +++ b/addons/l10n_hk/__manifest__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Hong Kong - Accounting', + 'version': '1.0', + 'category': 'Accounting/Localizations/Account Charts', + 'description': """ This is the base module to manage chart of accounting and localization for Hong Kong """, + 'author': 'Odoo SA', + 'depends': ['account'], + 'data': [ + 'data/account_chart_template_data.xml', + 'data/account.account.template.csv', + 'data/l10n_hk_chart_data.xml', + 'data/account_chart_template_configure_data.xml', + ], + 'demo': [ + 'demo/demo_company.xml', + ], + 'license': 'LGPL-3', +} diff --git a/addons/l10n_hk/data/account.account.template.csv b/addons/l10n_hk/data/account.account.template.csv new file mode 100644 index 00000000..d3c18492 --- /dev/null +++ b/addons/l10n_hk/data/account.account.template.csv @@ -0,0 +1,68 @@ +"id","name","code","user_type_id/id","chart_template_id/id","tag_ids/id","reconcile" +"l10n_hk_11","Fixed Assets","11","account.data_account_type_fixed_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1110","Furniture and Fixtures","1110","account.data_account_type_non_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1130","Equipment","1130","account.data_account_type_non_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1140","Decoration","1140","account.data_account_type_non_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1160","Investments","1160","account.data_account_type_non_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_12","Current Assets","12","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1240","Account Receivable","1240","account.data_account_type_receivable","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_1241","Utility & Rental Deposit","1241","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_1242","Supplier Prepayments","1242","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1243","Account Receivable (PoS)","1243","account.data_account_type_receivable","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_1245","Sundry Deposits","1245","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1246","Other Receivable","1246","account.data_account_type_receivable","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_1250","Stock Interim Account (Received)","1250","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1260","Stock Interim Account (Delivered)","1260","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_1270","Stock Valuation Account","1270","account.data_account_type_current_assets","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_21","Non-current Liabilities","21","account.data_account_type_non_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_22","Current Liabilities","22","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_2210","Accruals","2210","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_2211","Account Payable","2211","account.data_account_type_payable","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_2212","Receipt in Advance (Customer Prepayments)","2212","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_2214","Provision for Taxation","2214","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_2215","Proposed Dividend","2215","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_2216","Other Payable","2216","account.data_account_type_payable","l10n_hk.l10n_hk_chart_template","","True" +"l10n_hk_31","Paid Capital","31","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_32","Accumulated Profit & Loss","32","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_33","Profit & Loss Account","33","account.data_account_type_current_liabilities","l10n_hk.l10n_hk_chart_template","","False" +"l10n_hk_41","Trade Income","41","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_42","Other Income and Gains","42","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_4210","Sundry Income","4210","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_4220","Exchange Adjustment","4220","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_4230","Bank Interest Income","4230","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_4240","Foreign Exchange Gain","4240","account.data_account_type_revenue","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_51","Costs","51","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5101","Trade Costs","5101","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5105","Misc. Costs","5105","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5106","Costs of Transportation","5106","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5111","Declaration Fees","5111","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5112","Packing Fees","5112","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_52","Expenses","52","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5201","Bank Charges","5201","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5202","Entertainment","5202","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5203","Electricity & Water Fees","5203","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5205","Postage & Stamps","5205","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5206","Printing & Stationery","5206","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5207","Rent & Rates","5207","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5208","Sundry Expenses","5208","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5209","Telecommunication Expenses","5209","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5210","Traffic Fees","5210","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5211","IT Expenses","5211","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5214","Insurance","5214","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5215","Sales Commission","5215","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5216","Overseas Traveling","5216","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5217","MPF Contribution","5217","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5218","Wages & Salaries","5218","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5219","Bonus Payment","5219","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5221","Taxation","5221","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5222","Local Delivery","5222","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5223","Management Fees","5223","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5224","Depreciation","5224","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5225","Audit Fees","5225","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5226","Bad Debts","5226","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5228","Legal & Professional Fees","5228","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5229","Dividend","5229","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5231","Disposal","5231","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5234","Repair and Maintenance","5234","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5235","Advertising","5235","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" +"l10n_hk_5240","Foreign Exchange Loss","5240","account.data_account_type_expenses","l10n_hk.l10n_hk_chart_template","account.account_tag_operating","False" \ No newline at end of file diff --git a/addons/l10n_hk/data/account_chart_template_configure_data.xml b/addons/l10n_hk/data/account_chart_template_configure_data.xml new file mode 100644 index 00000000..f6f61f20 --- /dev/null +++ b/addons/l10n_hk/data/account_chart_template_configure_data.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/addons/l10n_hk/data/account_chart_template_data.xml b/addons/l10n_hk/data/account_chart_template_data.xml new file mode 100644 index 00000000..9ab9856b --- /dev/null +++ b/addons/l10n_hk/data/account_chart_template_data.xml @@ -0,0 +1,16 @@ + + + + + + + + + Hong Kong - Chart of Accounts + 1200 + 1210 + 111220 + 6 + + + diff --git a/addons/l10n_hk/data/l10n_hk_chart_data.xml b/addons/l10n_hk/data/l10n_hk_chart_data.xml new file mode 100644 index 00000000..98df5bfa --- /dev/null +++ b/addons/l10n_hk/data/l10n_hk_chart_data.xml @@ -0,0 +1,17 @@ + + + + + + Hong Kong - Chart of Accounts + + + + + + + + + + + diff --git a/addons/l10n_hk/demo/demo_company.xml b/addons/l10n_hk/demo/demo_company.xml new file mode 100644 index 00000000..1c06fb40 --- /dev/null +++ b/addons/l10n_hk/demo/demo_company.xml @@ -0,0 +1,35 @@ + + + + HK Company + + 118 Connaught Road West + Unit 07 - 10, 38/F Yat Chau International Plaza + Sai Ying Pun + + + + +852 5123 4567 + info@company.hkexample.com + www.hkexample.com + + + + HK Company + + + + + + + + + + + + + + + + + diff --git a/addons/l10n_hk/static/description/icon.png b/addons/l10n_hk/static/description/icon.png new file mode 100644 index 00000000..7d764ae0 Binary files /dev/null and b/addons/l10n_hk/static/description/icon.png differ -- cgit v1.2.3