mirror of
https://github.com/bringout/oca-ocb-l10n_me-africa.git
synced 2026-04-27 22:22:05 +02:00
19.0 vanilla
This commit is contained in:
parent
c5006a6999
commit
80293571e7
420 changed files with 21812 additions and 44297 deletions
|
|
@ -14,38 +14,15 @@ pip install odoo-bringout-oca-ocb-l10n_za
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- account
|
||||
- base_vat
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: South Africa - Accounting
|
||||
- **Version**: 1.0
|
||||
- **Category**: Accounting/Localizations/Account Charts
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: False
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `l10n_za`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_za
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
This package preserves the original LGPL-3 license.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import models
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
|
||||
# Copyright (C) 2017 Paradigm Digital (<http://www.paradigmdigital.co.za>).
|
||||
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
{
|
||||
'name': 'South Africa - Accounting',
|
||||
'icon': '/account/static/description/l10n.png',
|
||||
'countries': ['za'],
|
||||
'version': '1.0',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
|
|
@ -11,18 +10,16 @@ This is the latest basic South African localisation necessary to run Odoo in ZA:
|
|||
================================================================================
|
||||
- a generic chart of accounts
|
||||
- SARS VAT Ready Structure""",
|
||||
'author': 'Paradigm Digital',
|
||||
'website': 'https://www.paradigmdigital.co.za',
|
||||
'depends': ['account', 'base_vat'],
|
||||
'author': 'Paradigm Digital (https://www.paradigmdigital.co.za)',
|
||||
'website': 'https://www.odoo.com/documentation/latest/applications/finance/fiscal_localizations.html',
|
||||
'depends': [
|
||||
'account',
|
||||
'base_vat',
|
||||
],
|
||||
'auto_install': ['account'],
|
||||
'data': [
|
||||
'data/account.account.tag.csv',
|
||||
'data/account_tax_report_data.xml',
|
||||
'data/account.tax.group.csv',
|
||||
'data/account_chart_template_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/account_tax_template_data.xml',
|
||||
'data/account_chart_template_post_data.xml',
|
||||
'data/account_chart_template_configure_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
|
|
|
|||
|
|
@ -1,112 +0,0 @@
|
|||
id,code,name,account_type,reconcile,chart_template_id/id
|
||||
100020,100020,Stock Valuation,asset_current,True,default_chart_template
|
||||
100030,100030,Stock Work In Progress,asset_current,False,default_chart_template
|
||||
100040,100040,Stock Finished Goods,asset_current,False,default_chart_template
|
||||
100050,100050,Stock Delivered Control,asset_current,True,default_chart_template
|
||||
100060,100060,Purchase Tax Control,asset_current,False,default_chart_template
|
||||
100070,100070,Other Current Assets,asset_current,False,default_chart_template
|
||||
110010,110010,Debtors Control,asset_receivable,True,default_chart_template
|
||||
110020,110020,Sundry Debtors,asset_receivable,True,default_chart_template
|
||||
110030,110030,Debtors Control Account (PoS),asset_receivable,True,default_chart_template
|
||||
124010,124010,Credit Card Merchant,asset_cash,False,default_chart_template
|
||||
126010,126010,Cash In Hand,asset_cash,False,default_chart_template
|
||||
130010,130010,Prepayments,asset_prepayments,False,default_chart_template
|
||||
140010,140010,Software,asset_fixed,False,default_chart_template
|
||||
140020,140020,Patents & Trademarks,asset_fixed,False,default_chart_template
|
||||
140030,140030,Fixtures & Fittings,asset_fixed,False,default_chart_template
|
||||
140040,140040,Land & Buildings,asset_fixed,False,default_chart_template
|
||||
140050,140050,Motor Vehicles,asset_fixed,False,default_chart_template
|
||||
140060,140060,Office Equipment (incl computer equipment),asset_fixed,False,default_chart_template
|
||||
140070,140070,Plant & Machinery,asset_fixed,False,default_chart_template
|
||||
150010,150010,Non-current assets,asset_non_current,False,default_chart_template
|
||||
200010,200010,Stock Received Control,liability_current,True,default_chart_template
|
||||
200020,200020,Sundry Creditors,liability_current,False,default_chart_template
|
||||
200030,200030,Other Creditors,liability_current,False,default_chart_template
|
||||
200040,200040,Accruals,liability_current,False,default_chart_template
|
||||
200050,200050,Bad debt provision,liability_current,False,default_chart_template
|
||||
200060,200060,Sales Tax Control,liability_current,False,default_chart_template
|
||||
200070,200070,Manual Adjustments & VAT,liability_current,False,default_chart_template
|
||||
200080,200080,Loans,liability_current,False,default_chart_template
|
||||
200090,200090,Hire Purchase,liability_current,False,default_chart_template
|
||||
200100,200100,Mortgages,liability_current,False,default_chart_template
|
||||
210010,210010,Company Credit Card,liability_credit_card,False,default_chart_template
|
||||
220010,220010,Creditors Control,liability_payable,True,default_chart_template
|
||||
220020,220020,SARS - VAT,liability_payable,True,default_chart_template
|
||||
220030,220030,P.A.Y.E. & UIF,liability_payable,True,default_chart_template
|
||||
220040,220040,Net Wages,liability_payable,True,default_chart_template
|
||||
220050,220050,Pension Fund,liability_payable,True,default_chart_template
|
||||
220060,220060,Corporation Tax,liability_payable,True,default_chart_template
|
||||
300010,300010,Called up share capital,equity,False,default_chart_template
|
||||
300020,300020,Share premium,equity,False,default_chart_template
|
||||
300030,300030,Revaluation reserve,equity,False,default_chart_template
|
||||
300040,300040,Other reserves,equity,False,default_chart_template
|
||||
300050,300050,Capital,equity,False,default_chart_template
|
||||
300060,300060,Dividends,equity,False,default_chart_template
|
||||
300070,300070,Drawings,equity,False,default_chart_template
|
||||
400010,400010,Undistributed Profits/Losses,equity_unaffected,False,default_chart_template
|
||||
500010,500010,Sales category 1,income,False,default_chart_template
|
||||
500020,500020,Sales category 2,income,False,default_chart_template
|
||||
500030,500030,Sales category 3,income,False,default_chart_template
|
||||
500040,500040,Sales category 4,income,False,default_chart_template
|
||||
500050,500050,Bank Interest received,income,False,default_chart_template
|
||||
500060,500060,Investment Interest received,income,False,default_chart_template
|
||||
500070,500070,Profits/Losses on disposals of assets,income,False,default_chart_template
|
||||
500080,500080,Rental Income,income,False,default_chart_template
|
||||
510010,510010,Other Income,income_other,False,default_chart_template
|
||||
600010,600010,Cost of sales 1,expense_direct_cost,False,default_chart_template
|
||||
600020,600020,Cost of sales 2,expense_direct_cost,False,default_chart_template
|
||||
600030,600030,Cost of sales 3,expense_direct_cost,False,default_chart_template
|
||||
600040,600040,Cost of sales 4,expense_direct_cost,False,default_chart_template
|
||||
610010,610010,Marketing,expense,False,default_chart_template
|
||||
610020,610020,Exhibitions and events,expense,False,default_chart_template
|
||||
610030,610030,PR,expense,False,default_chart_template
|
||||
610040,610040,Distribution vehicles,expense,False,default_chart_template
|
||||
610050,610050,Distribution salaries and wages,expense,False,default_chart_template
|
||||
610060,610060,Shipping,expense,False,default_chart_template
|
||||
610070,610070,Directors pension,expense,False,default_chart_template
|
||||
610080,610080,Directors remuneration,expense,False,default_chart_template
|
||||
610090,610090,Gross Salaries,expense,False,default_chart_template
|
||||
610100,610100,Employers SDL & UIF,expense,False,default_chart_template
|
||||
610110,610110,Subcontractors payments,expense,False,default_chart_template
|
||||
610120,610120,Rent and rates,expense,False,default_chart_template
|
||||
610130,610130,Light / heat and power,expense,False,default_chart_template
|
||||
610140,610140,Repairs and maintenance,expense,False,default_chart_template
|
||||
610150,610150,Car hire,expense,False,default_chart_template
|
||||
610160,610160,Car fuel,expense,False,default_chart_template
|
||||
610170,610170,Car maintenance,expense,False,default_chart_template
|
||||
610180,610180,Telephone,expense,False,default_chart_template
|
||||
610190,610190,Internet & hosting,expense,False,default_chart_template
|
||||
610200,610200,Mobiles,expense,False,default_chart_template
|
||||
610210,610210,Stationery,expense,False,default_chart_template
|
||||
610220,610220,Office consumables,expense,False,default_chart_template
|
||||
610230,610230,Postage and Carriage,expense,False,default_chart_template
|
||||
610240,610240,Books,expense,False,default_chart_template
|
||||
610250,610250,Network costs,expense,False,default_chart_template
|
||||
610260,610260,Software expenses,expense,False,default_chart_template
|
||||
610270,610270,Other computer costs,expense,False,default_chart_template
|
||||
610280,610280,Recruitment fees,expense,False,default_chart_template
|
||||
610290,610290,Other admin expenses,expense,False,default_chart_template
|
||||
610300,610300,Accounting,expense,False,default_chart_template
|
||||
610310,610310,Auditing,expense,False,default_chart_template
|
||||
610320,610320,Consultancy,expense,False,default_chart_template
|
||||
610330,610330,Legal and professional charges,expense,False,default_chart_template
|
||||
610340,610340,Exchange gains/losses,expense,False,default_chart_template
|
||||
610350,610350,Other sundry expenses,expense,False,default_chart_template
|
||||
610360,610360,Bad debts,expense,False,default_chart_template
|
||||
610370,610370,Interest paid,expense,False,default_chart_template
|
||||
610380,610380,Bank Charges,expense,False,default_chart_template
|
||||
610390,610390,Donations,expense,False,default_chart_template
|
||||
610400,610400,Entertaining,expense,False,default_chart_template
|
||||
610410,610410,Insurance,expense,False,default_chart_template
|
||||
610420,610420,Travel and subsistence,expense,False,default_chart_template
|
||||
610430,610430,Corporation tax expense,expense,False,default_chart_template
|
||||
610440,610440,Foreign Exchange Gains/Losses,expense,False,default_chart_template
|
||||
610450,610450,Price Differences Control,expense,False,default_chart_template
|
||||
610460,610460,Cash Register Gains/Losses,expense,False,default_chart_template
|
||||
620010,620010,Software Depreciation,expense_depreciation,False,default_chart_template
|
||||
620020,620020,Patents & Trademarks Depreciation,expense_depreciation,False,default_chart_template
|
||||
620030,620030,Fixtures and fittings Depreciation,expense_depreciation,False,default_chart_template
|
||||
620040,620040,Land and buildings Depreciation,expense_depreciation,False,default_chart_template
|
||||
620050,620050,Motor vehicles Depreciation,expense_depreciation,False,default_chart_template
|
||||
620060,620060,Office equipment (inc computer equipment) Depreciation,expense_depreciation,False,default_chart_template
|
||||
620070,620070,Plant and machinery Depreciation,expense_depreciation,False,default_chart_template
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
id,name,country_id/id
|
||||
tax_group_0,VAT 0%,base.za
|
||||
tax_group_1,VAT 15%,base.za
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_za.default_chart_template')]"/>
|
||||
</function>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="default_chart_template" model="account.chart.template">
|
||||
<field name="name">South African Tax and Account Chart Template (by Paradigm Digital)</field>
|
||||
<field name="bank_account_code_prefix">1200</field>
|
||||
<field name="cash_account_code_prefix">1250</field>
|
||||
<field name="transfer_account_code_prefix">1010</field>
|
||||
<field name="code_digits">6</field>
|
||||
<field name="currency_id" ref="base.ZAR"/>
|
||||
<field name="country_id" ref="base.za"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="default_chart_template" model="account.chart.template">
|
||||
<field name="property_account_receivable_id" ref="110010"/>
|
||||
<field name="property_account_payable_id" ref="220010"/>
|
||||
<field name="property_account_expense_categ_id" ref="600010"/>
|
||||
<field name="property_account_income_categ_id" ref="500010"/>
|
||||
<field name="property_stock_account_input_categ_id" ref="200010"/>
|
||||
<field name="property_stock_account_output_categ_id" ref="100050"/>
|
||||
<field name="property_stock_valuation_account_id" ref="100020"/>
|
||||
<field name="income_currency_exchange_account_id" ref="610440"/>
|
||||
<field name="expense_currency_exchange_account_id" ref="610440"/>
|
||||
<field name="default_pos_receivable_account_id" ref="110030" />
|
||||
<field name="use_anglo_saxon" eval="True"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<odoo auto_sequence="1">
|
||||
<record id="tax_report" model="account.report">
|
||||
<field name="name">Tax Report</field>
|
||||
<field name="root_report_id" ref="account.generic_tax_report"/>
|
||||
<field name="country_id" ref="base.za"/>
|
||||
<field name="filter_fiscal_position" eval="True"/>
|
||||
<field name="allow_foreign_vat" eval="True"/>
|
||||
<field name="availability_condition">country</field>
|
||||
<field name="column_ids">
|
||||
<record id="tax_report_balance" model="account.report.column">
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
<record id="total_vat_payable" model="account.report.line">
|
||||
<field name="name">[20] VAT PAYABLE/REFUNDABLE (Total A - Total B)</field>
|
||||
<field name="aggregation_formula">TotalA.balance - TotalB.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="total_output_tax" model="account.report.line">
|
||||
<field name="name">[13] Total A: TOTAL OUTPUT TAX (4 + 4A + 9 + 11 + 12)</field>
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
<record id="standard_rate_exclude_capital_goods_service_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[1] Standard Rate (Excluding Capital goods and/or services and accomodation)</field>
|
||||
<field name="formula">-[1] Standard Rate (Excluding Capital goods and/or services and accomodation)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -40,7 +41,7 @@
|
|||
<record id="vat_on_standard_rate_exclude_capital_goods_service_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[4] x 15/ (100 + 15)</field>
|
||||
<field name="formula">-[4] x 15/ (100 + 15)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -51,7 +52,7 @@
|
|||
<record id="standard_rate_only_capital_goods_service_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[1A] Standard Rate (Only Capital goods and/or services)</field>
|
||||
<field name="formula">-[1A] Standard Rate (Only Capital goods and/or services)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -62,7 +63,7 @@
|
|||
<record id="vat_on_standard_rate_only_capital_goods_service_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[4A] x 15/ (100 + 15)</field>
|
||||
<field name="formula">-[4A] x 15/ (100 + 15)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -73,7 +74,7 @@
|
|||
<record id="zero_rate_exclude_goods_exported_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[2] Zero Rate (excluding goods exported)</field>
|
||||
<field name="formula">-[2] Zero Rate (excluding goods exported)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -84,7 +85,7 @@
|
|||
<record id="zero_rate_only_goods_exported_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[2A] Zero Rate (Only goods exported)</field>
|
||||
<field name="formula">-[2A] Zero Rate (Only goods exported)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -95,7 +96,7 @@
|
|||
<record id="exempt_and_non_supplies_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[3] Exempt and Non supplies</field>
|
||||
<field name="formula">-[3] Exempt and Non supplies</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -106,7 +107,7 @@
|
|||
<record id="accomodation_exceeding_28_days_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[5] Accomodation exceeding 28 days</field>
|
||||
<field name="formula">-[5] Accomodation exceeding 28 days</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -121,7 +122,7 @@
|
|||
<record id="accomodation_under_28_days_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[7] Accomodation under 28 days</field>
|
||||
<field name="formula">-[7] Accomodation under 28 days</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -140,7 +141,7 @@
|
|||
<record id="vat_on_accomodation_exceeding_28_days_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">VAT on Accomodation exceeding 28 days</field>
|
||||
<field name="formula">-VAT on Accomodation exceeding 28 days</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -151,7 +152,7 @@
|
|||
<record id="vat_on_accomodation_under_28_days_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">VAT on Accomodation under 28 days</field>
|
||||
<field name="formula">-VAT on Accomodation under 28 days</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -168,7 +169,7 @@
|
|||
<record id="second_hand_goods_export_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[10] Change in use and export of second-hand goods</field>
|
||||
<field name="formula">-[10] Change in use and export of second-hand goods</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -181,7 +182,7 @@
|
|||
<record id="vat_on_second_hand_goods_export_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[11] x 15 / (100 + 15)</field>
|
||||
<field name="formula">-[11] x 15 / (100 + 15)</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -192,7 +193,7 @@
|
|||
<record id="other_imported_services_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">[12] Other and imported services</field>
|
||||
<field name="formula">-[12] Other and imported services</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
|
|
@ -1,427 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="ST1" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Standard Rate</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('standard_rate_exclude_capital_goods_service_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('standard_rate_exclude_capital_goods_service_tag'), ref('vat_on_standard_rate_exclude_capital_goods_service_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('standard_rate_exclude_capital_goods_service_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('standard_rate_exclude_capital_goods_service_tag'), ref('vat_on_standard_rate_exclude_capital_goods_service_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST1A" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Standard Rate (Capital Goods)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('standard_rate_only_capital_goods_service_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('standard_rate_only_capital_goods_service_tag'), ref('vat_on_standard_rate_only_capital_goods_service_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('standard_rate_only_capital_goods_service_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('standard_rate_only_capital_goods_service_tag'), ref('vat_on_standard_rate_only_capital_goods_service_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST2" model="account.tax.template">
|
||||
<field name="description">0%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Zero Rate</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="tax_group_id" ref="tax_group_0"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('zero_rate_exclude_goods_exported_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('zero_rate_exclude_goods_exported_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST2A" model="account.tax.template">
|
||||
<field name="description">0%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Zero Rate Exports</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="tax_group_id" ref="tax_group_0"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('zero_rate_only_goods_exported_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('zero_rate_only_goods_exported_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST3" model="account.tax.template">
|
||||
<field name="description">0%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Exempt and Non-Supplies</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="tax_group_id" ref="tax_group_0"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('exempt_and_non_supplies_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('exempt_and_non_supplies_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST5" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Accommodation (28+ days)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('accomodation_exceeding_28_days_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('vat_on_accomodation_exceeding_28_days_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('accomodation_exceeding_28_days_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('vat_on_accomodation_exceeding_28_days_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST7" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Accommodation (Under 28 days)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('accomodation_under_28_days_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('vat_on_accomodation_under_28_days_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('accomodation_under_28_days_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('vat_on_accomodation_under_28_days_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST10" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Export of Second-hand Goods/ Change in Use</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('second_hand_goods_export_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('vat_on_second_hand_goods_export_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('second_hand_goods_export_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('vat_on_second_hand_goods_export_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST12" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">VAT Adjustments and Manual VAT</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'plus_report_expression_ids': [ref('other_imported_services_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('200060'),
|
||||
'minus_report_expression_ids': [ref('other_imported_services_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT15" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard Rate</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('other_goods_services_supplied_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('other_goods_services_supplied_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT14" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard Rate (Capital Goods)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('capital_goods_services_supplied_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('capital_goods_services_supplied_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT14A" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Capital Goods Imported</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('capital_goods_imported_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('capital_goods_imported_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT15A" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Goods and Services Imported</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('other_goods_imported_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('other_goods_imported_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT16" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Change in Use</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('change_in_use_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('change_in_use_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT17" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Bad Debts</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('bad_debts_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('bad_debts_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT18" model="account.tax.template">
|
||||
<field name="description">15%</field>
|
||||
<field name="chart_template_id" ref="default_chart_template"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Other Adjustments</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">15</field>
|
||||
<field name="tax_group_id" ref="tax_group_1"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'plus_report_expression_ids': [ref('others_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
(0,0, {'repartition_type': 'base'}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('100060'),
|
||||
'minus_report_expression_ids': [ref('others_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
"id","code","name","account_type","reconcile"
|
||||
"100020","100020","Stock Valuation","asset_current","True"
|
||||
"100030","100030","Stock Work In Progress","asset_current","False"
|
||||
"100040","100040","Stock Finished Goods","asset_current","False"
|
||||
"100050","100050","Stock Delivered Control","asset_current","True"
|
||||
"100060","100060","Purchase Tax Control","asset_current","False"
|
||||
"100070","100070","Other Current Assets","asset_current","False"
|
||||
"100800","100800","Cash Control Account","asset_current","True"
|
||||
"110010","110010","Debtors Control","asset_receivable","True"
|
||||
"110020","110020","Sundry Debtors","asset_receivable","True"
|
||||
"110030","110030","Debtors Control Account (PoS)","asset_receivable","True"
|
||||
"124010","124010","Credit Card Merchant","asset_cash","False"
|
||||
"126010","126010","Cash In Hand","asset_cash","False"
|
||||
"130010","130010","Prepayments","asset_prepayments","False"
|
||||
"140010","140010","Software","asset_fixed","False"
|
||||
"140020","140020","Patents & Trademarks","asset_fixed","False"
|
||||
"140030","140030","Fixtures & Fittings","asset_fixed","False"
|
||||
"140040","140040","Land & Buildings","asset_fixed","False"
|
||||
"140050","140050","Motor Vehicles","asset_fixed","False"
|
||||
"140060","140060","Office Equipment (incl computer equipment)","asset_fixed","False"
|
||||
"140070","140070","Plant & Machinery","asset_fixed","False"
|
||||
"150010","150010","Non-current assets","asset_non_current","False"
|
||||
"200010","200010","Stock Received Control","liability_current","True"
|
||||
"200020","200020","Sundry Creditors","liability_current","False"
|
||||
"200030","200030","Other Creditors","liability_current","False"
|
||||
"200040","200040","Accruals","liability_current","False"
|
||||
"200050","200050","Bad debt provision","liability_current","False"
|
||||
"200060","200060","Sales Tax Control","liability_current","False"
|
||||
"200070","200070","Manual Adjustments & VAT","liability_current","False"
|
||||
"200080","200080","Loans","liability_current","False"
|
||||
"200090","200090","Hire Purchase","liability_current","False"
|
||||
"200100","200100","Mortgages","liability_current","False"
|
||||
"210010","210010","Company Credit Card","liability_credit_card","False"
|
||||
"220010","220010","Creditors Control","liability_payable","True"
|
||||
"220020","220020","SARS - VAT","liability_payable","True"
|
||||
"220030","220030","P.A.Y.E. & UIF","liability_payable","True"
|
||||
"220040","220040","Net Wages","liability_payable","True"
|
||||
"220050","220050","Pension Fund","liability_payable","True"
|
||||
"220060","220060","Corporation Tax","liability_payable","True"
|
||||
"300010","300010","Called up share capital","equity","False"
|
||||
"300020","300020","Share premium","equity","False"
|
||||
"300030","300030","Revaluation reserve","equity","False"
|
||||
"300040","300040","Other reserves","equity","False"
|
||||
"300050","300050","Capital","equity","False"
|
||||
"300060","300060","Dividends","equity","False"
|
||||
"300070","300070","Drawings","equity","False"
|
||||
"300080","300080","Directors Loans","equity","False"
|
||||
"400010","400010","Undistributed Profits/Losses","equity_unaffected","False"
|
||||
"500010","500010","Sales category 1","income","False"
|
||||
"500020","500020","Sales category 2","income","False"
|
||||
"500030","500030","Sales category 3","income","False"
|
||||
"500040","500040","Sales category 4","income","False"
|
||||
"500050","500050","Bank Interest received","income","False"
|
||||
"500060","500060","Investment Interest received","income","False"
|
||||
"500070","500070","Profits/Losses on disposals of assets","income","False"
|
||||
"500080","500080","Rental Income","income","False"
|
||||
"500090","500090","Discount Received","income","False"
|
||||
"500100","500100","Foreign Exchange Gains","income","False"
|
||||
"500110","500110","Cash Difference Gains","income","False"
|
||||
"510010","510010","Other Income","income_other","False"
|
||||
"600010","600010","Cost of sales 1","expense_direct_cost","False"
|
||||
"600020","600020","Cost of sales 2","expense_direct_cost","False"
|
||||
"600030","600030","Cost of sales 3","expense_direct_cost","False"
|
||||
"600040","600040","Cost of sales 4","expense_direct_cost","False"
|
||||
"610010","610010","Marketing","expense","False"
|
||||
"610020","610020","Exhibitions and events","expense","False"
|
||||
"610030","610030","Public Relations","expense","False"
|
||||
"610040","610040","Distribution vehicles","expense","False"
|
||||
"610050","610050","Distribution salaries and wages","expense","False"
|
||||
"610060","610060","Shipping","expense","False"
|
||||
"610070","610070","Directors pension","expense","False"
|
||||
"610080","610080","Directors remuneration","expense","False"
|
||||
"610090","610090","Gross Salaries","expense","False"
|
||||
"610100","610100","Employers SDL & UIF","expense","False"
|
||||
"610110","610110","Subcontractors payments","expense","False"
|
||||
"610120","610120","Rent and rates","expense","False"
|
||||
"610130","610130","Water, electricity and other utilities","expense","False"
|
||||
"610140","610140","Repairs and maintenance","expense","False"
|
||||
"610150","610150","Car hire","expense","False"
|
||||
"610160","610160","Car fuel","expense","False"
|
||||
"610170","610170","Car maintenance","expense","False"
|
||||
"610180","610180","Telephone","expense","False"
|
||||
"610190","610190","Internet & hosting","expense","False"
|
||||
"610200","610200","Mobiles","expense","False"
|
||||
"610210","610210","Stationery","expense","False"
|
||||
"610220","610220","Office consumables","expense","False"
|
||||
"610230","610230","Postage and Carriage","expense","False"
|
||||
"610240","610240","Books","expense","False"
|
||||
"610250","610250","Network costs","expense","False"
|
||||
"610260","610260","Software expenses","expense","False"
|
||||
"610270","610270","Other computer costs","expense","False"
|
||||
"610280","610280","Recruitment fees","expense","False"
|
||||
"610290","610290","Other admin expenses","expense","False"
|
||||
"610300","610300","Accounting","expense","False"
|
||||
"610310","610310","Auditing","expense","False"
|
||||
"610320","610320","Consultancy","expense","False"
|
||||
"610330","610330","Legal and professional charges","expense","False"
|
||||
"610340","610340","Foreign Exchange Losses","expense","False"
|
||||
"610350","610350","Other sundry expenses","expense","False"
|
||||
"610360","610360","Bad debts","expense","False"
|
||||
"610370","610370","Interest paid","expense","False"
|
||||
"610380","610380","Bank Charges","expense","False"
|
||||
"610390","610390","Donations","expense","False"
|
||||
"610400","610400","Entertaining","expense","False"
|
||||
"610410","610410","Insurance","expense","False"
|
||||
"610420","610420","Travel and subsistence","expense","False"
|
||||
"610430","610430","Corporation tax expense","expense","False"
|
||||
"610450","610450","Price Differences Control","expense","False"
|
||||
"610460","610460","Cash Difference Loss","expense","False"
|
||||
"610470","610470","Discount Given","expense","False"
|
||||
"620010","620010","Software Depreciation","expense_depreciation","False"
|
||||
"620020","620020","Patents & Trademarks Depreciation","expense_depreciation","False"
|
||||
"620030","620030","Fixtures and fittings Depreciation","expense_depreciation","False"
|
||||
"620040","620040","Land and buildings Depreciation","expense_depreciation","False"
|
||||
"620050","620050","Motor vehicles Depreciation","expense_depreciation","False"
|
||||
"620060","620060","Office equipment (inc computer equipment) Depreciation","expense_depreciation","False"
|
||||
"620070","620070","Plant and machinery Depreciation","expense_depreciation","False"
|
||||
"620080","620080","Depreciation","expense_depreciation","False"
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
"id","description","invoice_label","type_tax_use","name","amount_type","amount","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","fiscal_position_ids","original_tax_ids"
|
||||
"ST1","Standard Rate","15%","sale","15%","percent","15.0","tax_group_1","base","invoice","[1] Standard Rate (Excluding Capital goods and/or services and accomodation)","","",""
|
||||
"","","","","","","","","tax","invoice","[1] Standard Rate (Excluding Capital goods and/or services and accomodation)||[4] x 15/ (100 + 15)","200060","",""
|
||||
"","","","","","","","","base","refund","[1] Standard Rate (Excluding Capital goods and/or services and accomodation)","","",""
|
||||
"","","","","","","","","tax","refund","[1] Standard Rate (Excluding Capital goods and/or services and accomodation)||[4] x 15/ (100 + 15)","200060","",""
|
||||
"ST1A","Standard Rate (Capital Goods)","15%","sale","15% G","percent","15.0","tax_group_1","base","invoice","[1A] Standard Rate (Only Capital goods and/or services)","","",""
|
||||
"","","","","","","","","tax","invoice","[1A] Standard Rate (Only Capital goods and/or services)||[4A] x 15/ (100 + 15)","200060","",""
|
||||
"","","","","","","","","base","refund","[1A] Standard Rate (Only Capital goods and/or services)","","",""
|
||||
"","","","","","","","","tax","refund","[1A] Standard Rate (Only Capital goods and/or services)||[4A] x 15/ (100 + 15)","200060","",""
|
||||
"ST2","Zero Rate","0%","sale","0%","percent","0.0","tax_group_0","base","invoice","[2] Zero Rate (excluding goods exported)","","",""
|
||||
"","","","","","","","","tax","invoice","","","",""
|
||||
"","","","","","","","","base","refund","[2] Zero Rate (excluding goods exported)","","",""
|
||||
"","","","","","","","","tax","refund","","","",""
|
||||
"ST2A","Zero Rate Exports","0%","sale","0% EX","percent","0.0","tax_group_0","base","invoice","[2A] Zero Rate (Only goods exported)","","",""
|
||||
"","","","","","","","","tax","invoice","","","",""
|
||||
"","","","","","","","","base","refund","[2A] Zero Rate (Only goods exported)","","",""
|
||||
"","","","","","","","","tax","refund","","","",""
|
||||
"ST3","Exempt and Non-Supplies","0%","sale","0% EXEMPT","percent","0.0","tax_group_0","base","invoice","[3] Exempt and Non supplies","","",""
|
||||
"","","","","","","","","tax","invoice","","","",""
|
||||
"","","","","","","","","base","refund","[3] Exempt and Non supplies","","",""
|
||||
"","","","","","","","","tax","refund","","","",""
|
||||
"ST5","Accommodation (28+ days)","15%","sale","15% A 28+","percent","15.0","tax_group_1","base","invoice","[5] Accomodation exceeding 28 days","","",""
|
||||
"","","","","","","","","tax","invoice","VAT on Accomodation exceeding 28 days","200060","",""
|
||||
"","","","","","","","","base","refund","[5] Accomodation exceeding 28 days","","",""
|
||||
"","","","","","","","","tax","refund","VAT on Accomodation exceeding 28 days","200060","",""
|
||||
"ST7","Accommodation (Under 28 days)","15%","sale","15% A 28-","percent","15.0","tax_group_1","base","invoice","[7] Accomodation under 28 days","","",""
|
||||
"","","","","","","","","tax","invoice","VAT on Accomodation under 28 days","200060","",""
|
||||
"","","","","","","","","base","refund","[7] Accomodation under 28 days","","",""
|
||||
"","","","","","","","","tax","refund","VAT on Accomodation under 28 days","200060","",""
|
||||
"ST10","Export of Second-hand Goods/ Change in Use","15%","sale","15% EX","percent","15.0","tax_group_1","base","invoice","[10] Change in use and export of second-hand goods","","",""
|
||||
"","","","","","","","","tax","invoice","[11] x 15 / (100 + 15)","200060","",""
|
||||
"","","","","","","","","base","refund","[10] Change in use and export of second-hand goods","","",""
|
||||
"","","","","","","","","tax","refund","[11] x 15 / (100 + 15)","200060","",""
|
||||
"ST12","VAT Adjustments and Manual VAT","15%","sale","15% Adj","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[12] Other and imported services","200060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[12] Other and imported services","200060","",""
|
||||
"PT15","Standard Rate","15%","purchase","15%","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[15] Other goods and/or services supplied to you (not Capital Goods)","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[15] Other goods and/or services supplied to you (not Capital Goods)","100060","",""
|
||||
"PT14","Standard Rate (Capital Goods)","15%","purchase","15% G","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[14] Capital Goods and/or services supplied to you","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[14] Capital Goods and/or services supplied to you","100060","",""
|
||||
"PT14A","Capital Goods Imported","15%","purchase","15% EX G","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[14A] Capital Goods imported by you","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[14A] Capital Goods imported by you","100060","",""
|
||||
"PT15A","Goods and Services Imported","15%","purchase","15% EX","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[15A] Other goods imported by you (not Capital Goods)","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[15A] Other goods imported by you (not Capital Goods)","100060","",""
|
||||
"PT16","Change in Use","15%","purchase","15% C","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[16] Change in Use","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[16] Change in Use","100060","",""
|
||||
"PT17","Bad Debts","15%","purchase","15% B D","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[17] Bad Debts","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[17] Bad Debts","100060","",""
|
||||
"PT18","Other Adjustments","15%","purchase","15% O A","percent","15.0","tax_group_1","base","invoice","","","",""
|
||||
"","","","","","","","","tax","invoice","[18] Other","100060","",""
|
||||
"","","","","","","","","base","refund","","","",""
|
||||
"","","","","","","","","tax","refund","[18] Other","100060","",""
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
"id","name","country_id"
|
||||
"tax_group_0","VAT 0%","base.za"
|
||||
"tax_group_1","VAT 15%","base.za"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_za" model="res.partner">
|
||||
<record id="base.partner_demo_company_za" model="res.partner" forcecreate="1">
|
||||
<field name="name">ZA Company</field>
|
||||
<field name="vat"></field>
|
||||
<field name="vat"/>
|
||||
<field name="street">A</field>
|
||||
<field name="city">Cape Town</field>
|
||||
<field name="country_id" ref="base.za"/>
|
||||
|
|
@ -11,24 +11,27 @@
|
|||
<field name="phone">+27 71 123 4567</field>
|
||||
<field name="email">info@company.zaexample.com</field>
|
||||
<field name="website">www.zaexample.com</field>
|
||||
<field name="is_company" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_za" model="res.company">
|
||||
<record id="base.demo_company_za" model="res.company" forcecreate="1">
|
||||
<field name="name">ZA Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_za"/>
|
||||
<field name="partner_id" ref="base.partner_demo_company_za"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_za')]"/>
|
||||
<value eval="[ref('base.demo_company_za')]"/>
|
||||
</function>
|
||||
|
||||
<function model="res.users" name="write">
|
||||
<value eval="[ref('base.user_root'), ref('base.user_admin'), ref('base.user_demo')]"/>
|
||||
<value eval="{'company_ids': [(4, ref('l10n_za.demo_company_za'))]}"/>
|
||||
<value eval="{'company_ids': [(4, ref('base.demo_company_za'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_za.default_chart_template')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_za.demo_company_za')"/>
|
||||
<value eval="[]"/>
|
||||
<value>za</value>
|
||||
<value model="res.company" eval="obj().env.ref('base.demo_company_za')"/>
|
||||
<value name="install_demo" eval="True"/>
|
||||
</function>
|
||||
</odoo>
|
||||
|
|
|
|||
2
odoo-bringout-oca-ocb-l10n_za/l10n_za/models/__init__.py
Normal file
2
odoo-bringout-oca-ocb-l10n_za/l10n_za/models/__init__.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import template_za
|
||||
37
odoo-bringout-oca-ocb-l10n_za/l10n_za/models/template_za.py
Normal file
37
odoo-bringout-oca-ocb-l10n_za/l10n_za/models/template_za.py
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import models
|
||||
from odoo.addons.account.models.chart_template import template
|
||||
|
||||
|
||||
class AccountChartTemplate(models.AbstractModel):
|
||||
_inherit = 'account.chart.template'
|
||||
|
||||
@template('za')
|
||||
def _get_za_template_data(self):
|
||||
return {
|
||||
'property_account_receivable_id': '110010',
|
||||
'property_account_payable_id': '220010',
|
||||
'property_stock_valuation_account_id': '100020',
|
||||
'code_digits': '6',
|
||||
}
|
||||
|
||||
@template('za', 'res.company')
|
||||
def _get_za_res_company(self):
|
||||
return {
|
||||
self.env.company.id: {
|
||||
'anglo_saxon_accounting': True,
|
||||
'account_fiscal_country_id': 'base.za',
|
||||
'bank_account_code_prefix': '1200',
|
||||
'cash_account_code_prefix': '1250',
|
||||
'transfer_account_code_prefix': '1010',
|
||||
'account_default_pos_receivable_account_id': '110030',
|
||||
'income_currency_exchange_account_id': '500100',
|
||||
'expense_currency_exchange_account_id': '610340',
|
||||
'default_cash_difference_income_account_id': '500110',
|
||||
'default_cash_difference_expense_account_id': '610460',
|
||||
'account_sale_tax_id': 'ST1',
|
||||
'account_purchase_tax_id': 'PT15',
|
||||
'expense_account_id': '600010',
|
||||
'income_account_id': '500010',
|
||||
},
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 19 KiB |
|
|
@ -1,13 +1,15 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_za"
|
||||
version = "16.0.0"
|
||||
description = "South Africa - Accounting - Odoo addon"
|
||||
description = "South Africa - Accounting -
|
||||
Odoo addon
|
||||
"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-account>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-base_vat>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-account>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-base_vat>=19.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
|
|
@ -17,7 +19,7 @@ classifiers = [
|
|||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue