Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] l10n_za: add chart of accounts for South Africa #22873 #26475

Open
wants to merge 4 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+1,097 −0
Diff settings

Always

Just for now

Copy path View file
No changes.
Copy path View file
@@ -0,0 +1,33 @@
# -*- encoding: utf-8 -*-

# Copyright (C) 2017 Paradigm Digital (<http://www.paradigmdigital.co.za>).

{
'name': 'South Africa ZA - Accounting',

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

Please name it 'South Africa - Accounting' instead, for consistency with other modules ;)

This comment has been minimized.

Copy link
@h4818

h4818 Feb 16, 2019

Author Contributor

Done

'version': '1.0',
'category': 'Localization',
'description': """
This is the latest basic South African localisation necessary to run Odoo in ZA:
================================================================================
- a generic chart of accounts
- SARS VAT Ready Structure
- other adaptations""",

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

Could you be a little more precise than "other adaptations" ? :)

This comment has been minimized.

Copy link
@h4818

h4818 Feb 16, 2019

Author Contributor

Removed

'author': 'Paradigm Digital',
'website': 'http://www.paradigmdigital.co.za',
'depends': ['account',
'base_vat'
],
'data': [
'data/account.account.tag.csv',
'data/account.tax.group.csv',
'data/l10n_za_chart_data.xml',
'data/account_template.xml',
'data/account.tax.template.csv',
'data/account_chart_template.yml',

],
'demo' : [

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

Please remove that, it's not used.

This comment has been minimized.

Copy link
@h4818

h4818 Feb 16, 2019

Author Contributor

Done

# 'demo/demo.xml'
],
'installable': True,
}
@@ -0,0 +1,17 @@
id,name,applicability
tag_ST1,ST1,taxes
tag_ST1A,ST1A,taxes
tag_ST2,ST2,taxes
tag_ST2A,ST2A,taxes
tag_ST3,ST3,taxes
tag_ST5,ST5,taxes
tag_ST7,ST7,taxes
tag_ST10,ST10,taxes
tag_ST12,ST12,taxes
tag_PT14,PT14,taxes
tag_PT14A,PT14A,taxes
tag_PT15,PT15,taxes
tag_PT15A,PT15A,taxes
tag_PT16,PT16,taxes
tag_PT17,PT17,taxes
tag_PT18,PT18,taxes
@@ -0,0 +1,108 @@
"external_id","code","name","user_type_id:id","reconcile","chart_template_id:id"

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

This file seems to be duplicated in addons/l10n_za/data/account_template.xml , right ? You can use csv or xml to define these data, but you don't need to have both. Please remove the csv version, we will keep the xml one.

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

@h4818 forget what I just said! I just learned that we were now busy replacing all xml declarations of account templates by csv for performance reasons, so rather keep the csv ;)

This comment has been minimized.

Copy link
@h4818

h4818 Feb 16, 2019

Author Contributor

I have kept the csv, but not used in module.

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Mar 18, 2019

Contributor

We should only use the csv; it makes the module installation faster ;)

100020,100020,Stock Valuation Account,account.data_account_type_current_assets,TRUE,l10n_za
100030,100030,Stock Work In Progress,account.data_account_type_current_assets,FALSE,l10n_za
100040,100040,Stock Finished Goods,account.data_account_type_current_assets,FALSE,l10n_za
100050,100050,Stock Delivered Control Account,account.data_account_type_current_assets,FALSE,l10n_za
100060,100060,Purchase Tax Control Account,account.data_account_type_current_assets,FALSE,l10n_za
100070,100070,Other Current Assets,account.data_account_type_current_assets,FALSE,l10n_za
110010,110010,Debtors Control Account,account.data_account_type_receivable,TRUE,l10n_za
110020,110020,Sundry Debtors,account.data_account_type_receivable,TRUE,l10n_za
120010,120010,Prepayments,account.data_account_type_prepayments,FALSE,l10n_za
130010,130010,Bank,account.data_account_type_liquidity,FALSE,l10n_za
130020,130020,Cash,account.data_account_type_liquidity,FALSE,l10n_za
140010,140010,Software,account.data_account_type_fixed_assets,FALSE,l10n_za
140020,140020,Patents & Trademarks,account.data_account_type_fixed_assets,FALSE,l10n_za
140030,140030,Fixtures & Fittings,account.data_account_type_fixed_assets,FALSE,l10n_za
140040,140040,Land & Buildings,account.data_account_type_fixed_assets,FALSE,l10n_za
140050,140050,Motor Vehicles,account.data_account_type_fixed_assets,FALSE,l10n_za
140060,140060,Office Equipment (incl computer equipment),account.data_account_type_fixed_assets,FALSE,l10n_za
140070,140070,Plant & Machinery,account.data_account_type_fixed_assets,FALSE,l10n_za
150010,150010,Non-current assets,account.data_account_type_non_current_assets,FALSE,l10n_za
200010,200010,Stock Received Control Account,account.data_account_type_current_liabilities,FALSE,l10n_za
200020,200020,Sundry Creditors,account.data_account_type_current_liabilities,FALSE,l10n_za
200030,200030,Other Creditors,account.data_account_type_current_liabilities,FALSE,l10n_za
200040,200040,Accruals,account.data_account_type_current_liabilities,FALSE,l10n_za
200050,200050,Bad debt provision,account.data_account_type_current_liabilities,FALSE,l10n_za
200060,200060,Sales Tax Control Account,account.data_account_type_current_liabilities,FALSE,l10n_za
200070,200070,Manual Adjustments & VAT,account.data_account_type_current_liabilities,FALSE,l10n_za
200080,200080,Loans,account.data_account_type_current_liabilities,FALSE,l10n_za
200090,200090,Hire Purchase,account.data_account_type_current_liabilities,FALSE,l10n_za
200100,200100,Mortgages,account.data_account_type_current_liabilities,FALSE,l10n_za
210010,210010,Company Credit Card,account.data_account_type_credit_card,TRUE,l10n_za
220010,220010,Creditors Control Account,account.data_account_type_payable,TRUE,l10n_za
220020,220020,SARS - VAT Account,account.data_account_type_payable,TRUE,l10n_za
220030,220030,P.A.Y.E. & UIF,account.data_account_type_payable,TRUE,l10n_za
220040,220040,Net Wages,account.data_account_type_payable,TRUE,l10n_za
220050,220050,Pension Fund,account.data_account_type_payable,TRUE,l10n_za
220060,220060,Corporation Tax,account.data_account_type_payable,TRUE,l10n_za
300010,300010,Called up share capital,account.data_account_type_equity,FALSE,l10n_za
300020,300020,Share premium account,account.data_account_type_equity,FALSE,l10n_za
300030,300030,Revaluation reserve,account.data_account_type_equity,FALSE,l10n_za
300040,300040,Other reserves,account.data_account_type_equity,FALSE,l10n_za
300050,300050,Capital,account.data_account_type_equity,FALSE,l10n_za
300060,300060,Dividends,account.data_account_type_equity,FALSE,l10n_za
300070,300070,Drawings,account.data_account_type_equity,FALSE,l10n_za
400010,400010,Undistributed Profits/Losses,account.data_unaffected_earnings,FALSE,l10n_za
500010,500010,Sales category 1,account.data_account_type_revenue,FALSE,l10n_za
500020,500020,Sales category 2,account.data_account_type_revenue,FALSE,l10n_za
500030,500030,Sales category 3,account.data_account_type_revenue,FALSE,l10n_za
500040,500040,Sales category 4,account.data_account_type_revenue,FALSE,l10n_za
500050,500050,Bank Interest received,account.data_account_type_revenue,FALSE,l10n_za
500060,500060,Investment Interest received,account.data_account_type_revenue,FALSE,l10n_za
500070,500070,Profits/Losses on disposals of assets,account.data_account_type_revenue,FALSE,l10n_za
600010,600010,Cost of sales 1,account.data_account_type_direct_costs,FALSE,l10n_za
600010,600010,Cost of sales 2,account.data_account_type_direct_costs,FALSE,l10n_za
600010,600010,Cost of sales 3,account.data_account_type_direct_costs,FALSE,l10n_za
600010,600010,Cost of sales 4,account.data_account_type_direct_costs,FALSE,l10n_za
510010,510010,Other Income,account.data_account_type_other_income,FALSE,l10n_za
610010,610010,Marketing,account.data_account_type_expenses,FALSE,l10n_za
610020,610020,Exhibitions and events,account.data_account_type_expenses,FALSE,l10n_za
610030,610030,PR,account.data_account_type_expenses,FALSE,l10n_za
610040,610040,Distribution vehicles,account.data_account_type_expenses,FALSE,l10n_za
610050,610050,Distribution salaries and wages,account.data_account_type_expenses,FALSE,l10n_za
610060,610060,Shipping,account.data_account_type_expenses,FALSE,l10n_za
610070,610070,Directors pension,account.data_account_type_expenses,FALSE,l10n_za
610080,610080,Directors remuneration,account.data_account_type_expenses,FALSE,l10n_za
610090,610090,Gross Salaries,account.data_account_type_expenses,FALSE,l10n_za
610100,610100,Employers SDL & UIF,account.data_account_type_expenses,FALSE,l10n_za
610110,610110,Subcontractors payments,account.data_account_type_expenses,FALSE,l10n_za
610120,610120,Rent and rates,account.data_account_type_expenses,FALSE,l10n_za
610130,610130,Light / heat and power,account.data_account_type_expenses,FALSE,l10n_za
610140,610140,Repairs and maintenance,account.data_account_type_expenses,FALSE,l10n_za
610150,610150,Car hire,account.data_account_type_expenses,FALSE,l10n_za
610160,610160,Car fuel,account.data_account_type_expenses,FALSE,l10n_za
610170,610170,Car maintenance,account.data_account_type_expenses,FALSE,l10n_za
610180,610180,Telephone,account.data_account_type_expenses,FALSE,l10n_za
610190,610190,Internet & hosting,account.data_account_type_expenses,FALSE,l10n_za
610200,610200,Mobiles,account.data_account_type_expenses,FALSE,l10n_za
610210,610210,Stationery,account.data_account_type_expenses,FALSE,l10n_za
610220,610220,Office consumables,account.data_account_type_expenses,FALSE,l10n_za
610230,610230,Postage and Carriage,account.data_account_type_expenses,FALSE,l10n_za
610240,610240,Books,account.data_account_type_expenses,FALSE,l10n_za
610250,610250,Network costs,account.data_account_type_expenses,FALSE,l10n_za
610260,610260,Software expenses,account.data_account_type_expenses,FALSE,l10n_za
610270,610270,Other computer costs,account.data_account_type_expenses,FALSE,l10n_za
610280,610280,Recruitment fees,account.data_account_type_expenses,FALSE,l10n_za
610290,610290,Other admin expenses,account.data_account_type_expenses,FALSE,l10n_za
610300,610300,Accounting,account.data_account_type_expenses,FALSE,l10n_za
610310,610310,Auditing,account.data_account_type_expenses,FALSE,l10n_za
610320,610320,Consultancy,account.data_account_type_expenses,FALSE,l10n_za
610330,610330,Legal and professional charges,account.data_account_type_expenses,FALSE,l10n_za
610340,610340,Exchange gains/losses,account.data_account_type_expenses,FALSE,l10n_za
610350,610350,Other sundry expenses,account.data_account_type_expenses,FALSE,l10n_za
610360,610360,Bad debts,account.data_account_type_expenses,FALSE,l10n_za
610370,610370,Interest paid,account.data_account_type_expenses,FALSE,l10n_za
610380,610380,Bank Charges,account.data_account_type_expenses,FALSE,l10n_za
610390,610390,Donations,account.data_account_type_expenses,FALSE,l10n_za
610400,610400,Entertaining,account.data_account_type_expenses,FALSE,l10n_za
610410,610410,Insurance,account.data_account_type_expenses,FALSE,l10n_za
610420,610420,Travel and subsistence,account.data_account_type_expenses,FALSE,l10n_za
610430,610430,Corporation tax expense,account.data_account_type_expenses,FALSE,l10n_za
610440,610440,Foreign Exchange Gains/Losses,account.data_account_type_expenses,FALSE,l10n_za
620010,620010,Software Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620020,620020,Patents & Trademarks Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620030,620030,Fixtures and fittings Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620040,620040,Land and buildings Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620050,620050,Motor vehicles Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620060,620060,Office equipment (inc computer equipment) Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
620070,620070,Plant and machinery Depreciation,account.data_account_type_depreciation,FALSE,l10n_za
@@ -0,0 +1,3 @@
"id","name","property_account_receivable_id:id","property_account_payable_id:id","property_account_expense_categ_id:id","property_account_income_categ_id:id","income_currency_exchange_account_id:id","expense_currency_exchange_account_id:id","use_anglo_saxon"

This comment has been minimized.

Copy link
@oco-odoo

oco-odoo Nov 23, 2018

Contributor

Same remark: either csv or xml ; please keep xml

This comment has been minimized.

Copy link
@h4818

h4818 Feb 15, 2019

Author Contributor

This can be removed as it is not used.

"l10n_za","South African Tax and Account Chart Template (by Paradigm Digital)","1100","2100","5000","4000","7700","7700","True"

@@ -0,0 +1,3 @@
id,name
tax_group_0,VAT 0%
tax_group_1,VAT 15%
@@ -0,0 +1,15 @@
id,description,chart_template_id:id,type_tax_use,name,amount_type,amount,account_id:id,refund_account_id:id,children_tax_ids:id,tag_ids:id,tax_group_id:id
ST1A,15%,l10n_za,sale,Standard Rate (Capital Goods),percent,15,200060,200060,,tag_ST1A,tax_group_1
ST2,0%,l10n_za,sale,Zero Rate,percent,0,200060,200060,,tag_ST2,tax_group_0
ST2A,0%,l10n_za,sale,Zero Rate Exports,percent,0,200060,200060,,tag_ST2A,tax_group_0
ST3,0%,l10n_za,sale,Exempt and Non-Supplies,percent,0,200060,200060,,tag_ST3,tax_group_0
ST5,15%,l10n_za,sale,Accommodation (28+ days),percent,15,200060,200060,,tag_ST5,tax_group_1
ST7,15%,l10n_za,sale,Accommodation (Under 28 days),percent,15,200060,200060,,tag_ST7,tax_group_1
ST10,15%,l10n_za,sale,Export of Second-hand Goods/ Change in Use,percent,15,200060,200060,,tag_ST10,tax_group_1
ST12,15%,l10n_za,sale,VAT Adjustments and Manual VAT,percent,15,200060,200060,,tag_ST12,tax_group_1
PT14,15%,l10n_za,purchase,Standard Rate (Capital Goods),percent,15,100060,100060,,tag_PT14,tax_group_1
PT14A,15%,l10n_za,purchase,Capital Goods Imported,percent,15,100060,100060,,tag_PT14A,tax_group_1
PT15A,15%,l10n_za,purchase,Goods and Services Imported,percent,15,100060,100060,,tag_PT15A,tax_group_1
PT16,15%,l10n_za,purchase,Change in Use,percent,15,100060,100060,,tag_PT16,tax_group_1
PT17,15%,l10n_za,purchase,Bad Debts,percent,15,100060,100060,,tag_PT17,tax_group_1
PT18,15%,l10n_za,purchase,Other Adjustments,percent,15,100060,100060,,tag_PT18,tax_group_1
@@ -0,0 +1,3 @@
-
!python {model: account.chart.template, id: l10n_za}: |
self[0].try_loading_for_current_company()
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.