mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-26 13:22:02 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -16,39 +16,16 @@ pip install odoo-bringout-oca-ocb-l10n_uk
|
|||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- account
|
||||
- base_iban
|
||||
- base_vat
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: United Kingdom - 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_uk`.
|
||||
- Repository: https://github.com/OCA/OCB
|
||||
- Branch: 19.0
|
||||
- Path: addons/l10n_uk
|
||||
|
||||
## 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.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,2 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
# Copyright (C) 2011 Smartmode LTD (<http://www.smartmode.co.uk>).
|
||||
from . import models
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
# Copyright (C) 2011 Smartmode LTD (<http://www.smartmode.co.uk>).
|
||||
|
||||
{
|
||||
'name': 'United Kingdom - Accounting',
|
||||
'version': '1.0',
|
||||
'icon': '/account/static/description/l10n.png',
|
||||
'countries': ['gb'],
|
||||
'version': '1.1',
|
||||
'category': 'Accounting/Localizations/Account Charts',
|
||||
'description': """
|
||||
This is the latest UK Odoo localisation necessary to run Odoo accounting for UK SME's with:
|
||||
|
|
@ -15,20 +13,17 @@ This is the latest UK Odoo localisation necessary to run Odoo accounting for UK
|
|||
- InfoLogic UK counties listing
|
||||
- a few other adaptations""",
|
||||
'author': 'SmartMode LTD',
|
||||
'website': 'https://www.odoo.com/app/accounting',
|
||||
'website': 'https://www.odoo.com/documentation/latest/applications/finance/fiscal_localizations/united_kingdom.html',
|
||||
'depends': [
|
||||
'account',
|
||||
'base_iban',
|
||||
'base_vat',
|
||||
],
|
||||
'auto_install': ['account'],
|
||||
'data': [
|
||||
'data/country_group.xml',
|
||||
'data/l10n_uk_chart_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
'data/account.chart.template.csv',
|
||||
'data/account.tax.group.csv',
|
||||
'data/account_tax_report_data.xml',
|
||||
'data/account_tax_data.xml',
|
||||
'data/account_chart_template_data.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/l10n_uk_demo.xml',
|
||||
|
|
|
|||
|
|
@ -1,101 +0,0 @@
|
|||
"id","code","name","account_type","reconcile","chart_template_id:id"
|
||||
"0010","0010","Software","asset_fixed","FALSE","l10n_uk"
|
||||
"0011","0011","Software Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0020","0020","Patents & Trademarks","asset_fixed","FALSE","l10n_uk"
|
||||
"0021","0021","Patents & Trademarks Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0030","0030","Fixtures and fittings","asset_fixed","FALSE","l10n_uk"
|
||||
"0031","0031","Fixtures and fittings Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0040","0040","Land and buildings","asset_fixed","FALSE","l10n_uk"
|
||||
"0041","0041","Land and buildings Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0050","0050","Motor vehicles","asset_fixed","FALSE","l10n_uk"
|
||||
"0051","0051","Motor vehicles Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0060","0060","Office equipment (inc computer equipment)","asset_fixed","FALSE","l10n_uk"
|
||||
"0061","0061","Office equipment (inc computer equipment) Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"0070","0070","Plant and machinery","asset_fixed","FALSE","l10n_uk"
|
||||
"0071","0071","Plant and machinery Depreciation","asset_fixed","FALSE","l10n_uk"
|
||||
"1001","1001","Stock","asset_current","TRUE","l10n_uk"
|
||||
"1002","1002","Work in Progress","asset_current","FALSE","l10n_uk"
|
||||
"1003","1003","Finished Goods","asset_current","FALSE","l10n_uk"
|
||||
"1100","1100","Debtors Control Account","asset_receivable","TRUE","l10n_uk"
|
||||
"1101","1101","Sundry Debtors","asset_receivable","TRUE","l10n_uk"
|
||||
"1102","1102","Other Debtors","asset_current","FALSE","l10n_uk"
|
||||
"1104","1104","Debtors Control Account (PoS)","asset_receivable","TRUE","l10n_uk"
|
||||
"1240","1240","Company Credit Card","asset_current","TRUE","l10n_uk"
|
||||
"1103","1103","Prepayments","asset_current","FALSE","l10n_uk"
|
||||
"2100","2100","Creditors Control Account","liability_payable","TRUE","l10n_uk"
|
||||
"2101","2101","Sundry Creditors","liability_current","FALSE","l10n_uk"
|
||||
"2102","2102","Other Creditors","liability_current","FALSE","l10n_uk"
|
||||
"2200","2200","Sales Tax Control Account","liability_current","FALSE","l10n_uk"
|
||||
"2201","2201","Purchase Tax Control Account","asset_current","FALSE","l10n_uk"
|
||||
"2202","2202","HMRC - VAT Account","liability_payable","TRUE","l10n_uk"
|
||||
"2204","2204","Manual Adjustments ヨ VAT","liability_current","FALSE","l10n_uk"
|
||||
"2210","2210","P.A.Y.E. & NI","liability_payable","TRUE","l10n_uk"
|
||||
"2220","2220","Net Wages","liability_payable","TRUE","l10n_uk"
|
||||
"2230","2230","Pension Fund","liability_payable","TRUE","l10n_uk"
|
||||
"2150","2150","Bad debt provision","liability_current","FALSE","l10n_uk"
|
||||
"2109","2109","Accruals","liability_current","FALSE","l10n_uk"
|
||||
"2320","2320","Corporation Tax","liability_payable","TRUE","l10n_uk"
|
||||
"2300","2300","Loans","liability_current","FALSE","l10n_uk"
|
||||
"2310","2310","Hire Purchase","liability_current","FALSE","l10n_uk"
|
||||
"2330","2330","Mortgages","liability_current","FALSE","l10n_uk"
|
||||
"3000","3000","Called up share capital","equity","FALSE","l10n_uk"
|
||||
"3010","3010","Share premium account","equity","FALSE","l10n_uk"
|
||||
"3020","3020","Revaluation reserve","equity","FALSE","l10n_uk"
|
||||
"3030","3030","Other reserves","equity","FALSE","l10n_uk"
|
||||
"4000","4000","Sales category 1","income","FALSE","l10n_uk"
|
||||
"4001","4001","Sales category 2","income","FALSE","l10n_uk"
|
||||
"4002","4002","Sales category 3","income","FALSE","l10n_uk"
|
||||
"4003","4003","Sales category 4","income","FALSE","l10n_uk"
|
||||
"5000","5000","Cost of sales 1","expense","FALSE","l10n_uk"
|
||||
"5001","5001","Cost of sales 2","expense","FALSE","l10n_uk"
|
||||
"5002","5002","Cost of sales 3","expense","FALSE","l10n_uk"
|
||||
"5003","5003","Cost of sales 4","expense","FALSE","l10n_uk"
|
||||
"6000","6000","Marketing, POS","expense","FALSE","l10n_uk"
|
||||
"6001","6001","Exhibitions and events","expense","FALSE","l10n_uk"
|
||||
"6002","6002","PR","expense","FALSE","l10n_uk"
|
||||
"6010","6010","Distribution vehicles","expense","FALSE","l10n_uk"
|
||||
"6020","6020","Distribution salaries and wages","expense","FALSE","l10n_uk"
|
||||
"6030","6030","Shipping","expense","FALSE","l10n_uk"
|
||||
"7000","7000","Directors pension","expense","FALSE","l10n_uk"
|
||||
"7001","7001","Directors remuneration","expense","FALSE","l10n_uk"
|
||||
"7010","7010","Admin gross salaries","expense","FALSE","l10n_uk"
|
||||
"7011","7011","Management gross salaries","expense","FALSE","l10n_uk"
|
||||
"7012","7012","Employers NIC","expense","FALSE","l10n_uk"
|
||||
"7020","7020","Subcontractors payments","expense","FALSE","l10n_uk"
|
||||
"7610","7610","Consultancy","expense","FALSE","l10n_uk"
|
||||
"7620","7620","Legal and professional charges","expense","FALSE","l10n_uk"
|
||||
"7601","7601","Accounting","expense","FALSE","l10n_uk"
|
||||
"7602","7602","Auditing","expense","FALSE","l10n_uk"
|
||||
"7110","7110","Light, heat and power","expense","FALSE","l10n_uk"
|
||||
"7100","7100","Rent and rates","expense","FALSE","l10n_uk"
|
||||
"7120","7120","Repairs, renewals and maintenance","expense","FALSE","l10n_uk"
|
||||
"7300","7300","Car hire","expense","FALSE","l10n_uk"
|
||||
"7301","7301","Car fuel","expense","FALSE","l10n_uk"
|
||||
"7302","7302","Car maintenance","expense","FALSE","l10n_uk"
|
||||
"7502","7502","Telephone","expense","FALSE","l10n_uk"
|
||||
"7503","7503","Internet & hosting","expense","FALSE","l10n_uk"
|
||||
"7504","7504","Mobiles","expense","FALSE","l10n_uk"
|
||||
"7505","7505","Stationery","expense","FALSE","l10n_uk"
|
||||
"7506","7506","Office consumables","expense","FALSE","l10n_uk"
|
||||
"7507","7507","Postage and Carriage","expense","FALSE","l10n_uk"
|
||||
"7508","7508","Books","expense","FALSE","l10n_uk"
|
||||
"7509","7509","Network costs","expense","FALSE","l10n_uk"
|
||||
"7510","7510","Software expenses","expense","FALSE","l10n_uk"
|
||||
"7511","7511","Other computer costs","expense","FALSE","l10n_uk"
|
||||
"7512","7512","Recruitment fees","expense","FALSE","l10n_uk"
|
||||
"7513","7513","Other admin expenses","expense","FALSE","l10n_uk"
|
||||
"7700","7700","Exchange gains/losses","expense","FALSE","l10n_uk"
|
||||
"7710","7710","Other sundry expenses","expense","FALSE","l10n_uk"
|
||||
"7850","7850","Bad debts","expense","FALSE","l10n_uk"
|
||||
"7910","7910","Bank, credit card and other financial charges","expense","FALSE","l10n_uk"
|
||||
"8000","8000","Intangible assets depn","expense","FALSE","l10n_uk"
|
||||
"8001","8001","Tangible assets depn","expense","FALSE","l10n_uk"
|
||||
"8200","8200","Donations","expense","FALSE","l10n_uk"
|
||||
"8300","8300","Entertaining","expense","FALSE","l10n_uk"
|
||||
"8400","8400","Insurance","expense","FALSE","l10n_uk"
|
||||
"8500","8500","Travel and subsistence","expense","FALSE","l10n_uk"
|
||||
"9000","9000","Profits/Losses on disposals of assets","income","FALSE","l10n_uk"
|
||||
"4900","4900","Bank Interest received","income","FALSE","l10n_uk"
|
||||
"4910","4910","Investment Interest received","income","FALSE","l10n_uk"
|
||||
"7900","7900","Interest paid","expense","FALSE","l10n_uk"
|
||||
"8800","8800","Corporation tax expense","expense","FALSE","l10n_uk"
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
"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","default_pos_receivable_account_id:id","property_tax_payable_account_id:id","property_tax_receivable_account_id:id","use_anglo_saxon"
|
||||
"l10n_uk","UK Tax and Account Chart Template (by SmartMode)","1100","2100","5000","4000","7700","7700","1104","2202","2202","True"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
id,name,country_id/id
|
||||
tax_group_0,TAX 0%,base.uk
|
||||
tax_group_5,TAX 5%,base.uk
|
||||
tax_group_175,TAX 17.5%,base.uk
|
||||
tax_group_20,TAX 20%,base.uk
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_uk.l10n_uk')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -1,308 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="ST0" model="account.tax.template">
|
||||
<field name="description">ST0</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Zero rated sales</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('account_tax_report_line_exd_vat_box6_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('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST2" model="account.tax.template">
|
||||
<field name="description">ST2</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Exempt sales</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('account_tax_report_line_exd_vat_box6_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('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT0" model="account.tax.template">
|
||||
<field name="description">PT0</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Zero rated purchases</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('account_tax_report_line_exd_vat_box7_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('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT2" model="account.tax.template">
|
||||
<field name="description">PT2</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Exempt purchases</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('account_tax_report_line_exd_vat_box7_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('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT8" model="account.tax.template">
|
||||
<field name="description">PT8</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard rated purchases from EC</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">20</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('account_tax_report_line_exd_vat_box9_tag'), ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box2_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box9_tag'), ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box2_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'factor_percent': -100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT5" model="account.tax.template">
|
||||
<field name="description">PT5</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Lower rate purchases (5%)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="tax_group_id" ref="tax_group_5"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST5" model="account.tax.template">
|
||||
<field name="description">ST5</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Lower rate sales (5%)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">5</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('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2200'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box1_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2200'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box1_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST4" model="account.tax.template">
|
||||
<field name="description">ST4</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Sales to customers in EC</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('account_tax_report_line_exd_vat_box8_tag'), ref('account_tax_report_line_exd_vat_box6_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('account_tax_report_line_exd_vat_box8_tag'), ref('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT7" model="account.tax.template">
|
||||
<field name="description">PT7</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Zero rated purchases from EC</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('account_tax_report_line_exd_vat_box9_tag'), ref('account_tax_report_line_exd_vat_box7_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('account_tax_report_line_exd_vat_box9_tag'), ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {'repartition_type': 'tax'}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="ST11" model="account.tax.template">
|
||||
<field name="description">ST11</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="name">Standard rate sales (20%)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">20</field>
|
||||
<field name="tax_group_id" ref="tax_group_20"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2200'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box1_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box6_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2200'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box1_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
<record id="PT11" model="account.tax.template">
|
||||
<field name="description">PT11</field>
|
||||
<field name="chart_template_id" ref="l10n_uk"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="name">Standard rate purchases (20%)</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="amount">20</field>
|
||||
<field name="tax_group_id" ref="tax_group_20"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'plus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5,0,0),
|
||||
(0,0, {
|
||||
'repartition_type': 'base',
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_exd_vat_box7_tag')],
|
||||
}),
|
||||
(0,0, {
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('2201'),
|
||||
'minus_report_expression_ids': [ref('account_tax_report_line_vat_box4_tag')],
|
||||
}),
|
||||
]"/>
|
||||
</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.uk"/>
|
||||
<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">
|
||||
|
|
@ -14,8 +14,9 @@
|
|||
</field>
|
||||
<field name="line_ids">
|
||||
<record id="account_tax_report_line_vat_cal" model="account.report.line">
|
||||
<field name="name">VAT calculations</field>
|
||||
<field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance + UKTAX_4.balance</field>
|
||||
<field name="name">VAT Calculations</field>
|
||||
<field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance - UKTAX_4.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="account_tax_report_line_vat_box1" model="account.report.line">
|
||||
<field name="name">[BOX 1] VAT due on sales and other outputs</field>
|
||||
|
|
@ -24,27 +25,27 @@
|
|||
<record id="account_tax_report_line_vat_box1_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">1</field>
|
||||
<field name="formula">-1</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_vat_box2" model="account.report.line">
|
||||
<field name="name">[BOX 2] VAT due on acquisitions from EC</field>
|
||||
<field name="name">[BOX 2] VAT due on acquisitions of goods made in Northern Ireland from EU member states</field>
|
||||
<field name="code">UKTAX_2</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_vat_box2_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">2</field>
|
||||
<field name="formula">-2</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_vat_box3" model="account.report.line">
|
||||
<field name="name">[BOX 3] Total VAT due (box 1 + box 2)</field>
|
||||
<field name="name">[BOX 3] Total VAT due</field>
|
||||
<field name="aggregation_formula">UKTAX_1.balance + UKTAX_2.balance</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_vat_box4" model="account.report.line">
|
||||
<field name="name">[BOX 4] VAT reclaimed on purchases and other inputs (including acquisitions from EC)</field>
|
||||
<field name="name">[BOX 4] VAT reclaimed on purchases and other inputs (including acquisitions from the EU)</field>
|
||||
<field name="code">UKTAX_4</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_vat_box4_tag" model="account.report.expression">
|
||||
|
|
@ -63,20 +64,31 @@
|
|||
<record id="account_tax_report_line_exd_vat" model="account.report.line">
|
||||
<field name="name">Sales and Purchases Excluding VAT</field>
|
||||
<field name="aggregation_formula">UKTAX_6.balance + UKTAX_7.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box6" model="account.report.line">
|
||||
<field name="name">[BOX 6] Total value of sales and other outputs excluding VAT (including EC supplies)</field>
|
||||
<field name="name">[BOX 6] Total value of sales and all other outputs excluding any VAT</field>
|
||||
<field name="code">UKTAX_6</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box6_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">aggregation</field>
|
||||
<field name="formula">UKTAX_6.sale + UKTAX_6.purchase</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_exd_vat_box6_tag_sale" model="account.report.expression">
|
||||
<field name="label">sale</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">6</field>
|
||||
<field name="formula">-6</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_exd_vat_box6_tag_purchase" model="account.report.expression">
|
||||
<field name="label">purchase</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">6rc</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_exd_vat_box7" model="account.report.line">
|
||||
<field name="name">[BOX 7] Total value of purchases and inputs excluding VAT (including EC acquisitions)</field>
|
||||
<field name="name">[BOX 7] Total value of purchases and all other inputs excluding VAT</field>
|
||||
<field name="code">UKTAX_7</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box7_tag" model="account.report.expression">
|
||||
|
|
@ -89,22 +101,23 @@
|
|||
</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_ec_exd_vat" model="account.report.line">
|
||||
<field name="name">EC Sales and Purchases excluding VAT</field>
|
||||
<field name="name">EU Sales and Purchases Excluding VAT</field>
|
||||
<field name="aggregation_formula">UKTAX_8.balance + UKTAX_9.balance</field>
|
||||
<field name="hierarchy_level">0</field>
|
||||
<field name="children_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box8" model="account.report.line">
|
||||
<field name="name">[BOX 8] Total value of EC sales excluding VAT</field>
|
||||
<field name="name">[BOX 8] Total value of all supplies of goods and related costs, excluding any VAT, to EU member states</field>
|
||||
<field name="code">UKTAX_8</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box8_tag" model="account.report.expression">
|
||||
<field name="label">balance</field>
|
||||
<field name="engine">tax_tags</field>
|
||||
<field name="formula">8</field>
|
||||
<field name="formula">-8</field>
|
||||
</record>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_tax_report_line_exd_vat_box9" model="account.report.line">
|
||||
<field name="name">[BOX 9] Total value of EC purchases excluding VAT</field>
|
||||
<field name="name">[BOX 9] Total value of all acquisitions of goods and related costs, excluding any VAT, from EU member states</field>
|
||||
<field name="code">UKTAX_9</field>
|
||||
<field name="expression_ids">
|
||||
<record id="account_tax_report_line_exd_vat_box9_tag" model="account.report.expression">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="country_group_ukxi" model="res.country.group">
|
||||
<field name="code">UKXI</field>
|
||||
<field name="country_ids" eval="[Command.set([ref('base.uk'),ref('base.xi')])]"/>
|
||||
<field name="name">United Kingdom and Northern Ireland</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -1,15 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<menuitem id="account_reports_uk_statements_menu" name="United Kingdom" parent="account.menu_finance_reports" sequence="5" groups="account.group_account_readonly"/>
|
||||
<menuitem id="account_reports_uk_statements_menu" name="United Kingdom" parent="account.menu_finance_reports" sequence="6" groups="account.group_account_readonly"/>
|
||||
|
||||
<!-- Chart template -->
|
||||
<record id="l10n_uk" model="account.chart.template">
|
||||
<field name="name">UK Tax and Account Chart Template (by SmartMode)</field>
|
||||
<field name="bank_account_code_prefix">1200</field>
|
||||
<field name="cash_account_code_prefix">1210</field>
|
||||
<field name="transfer_account_code_prefix">1220</field>
|
||||
<field name="code_digits">6</field>
|
||||
<field name="currency_id" ref="base.GBP"/>
|
||||
<field name="country_id" ref="base.uk"/>
|
||||
</record>
|
||||
</odoo>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,119 @@
|
|||
"id","code","name","account_type","reconcile","non_trade","active","tax_ids","description","asset_model_ids"
|
||||
"001000","001000","Technology","asset_fixed","False","","True","PT_20_S","Technological products or services bought for your business","asset_technology"
|
||||
"001100","001100","Technology Depreciation","asset_fixed","False","","True","","",""
|
||||
"002000","002000","Patents & Trademarks","asset_fixed","False","","True","","Registered patents and trademarks owned by the business","asset_patents"
|
||||
"002100","002100","Patents & Trademarks Depreciation","asset_fixed","False","","True","","",""
|
||||
"003000","003000","Installations","asset_fixed","False","","True","PT_20_S","Purchases of fixtures, fittings and installations related to buildings, like solar panels or heater","asset_installations"
|
||||
"003100","003100","Installations Depreciation","asset_fixed","False","","True","","",""
|
||||
"004000","004000","Land","asset_fixed","False","","True","PT2","Purchases of lands without buildings",""
|
||||
"004001","004001","Buildings","asset_fixed","False","","True","PT_20_S","Construction of buildings and costs associated to buildings","asset_buildings"
|
||||
"004100","004100","Land Depreciation","asset_fixed","False","","True","","",""
|
||||
"004101","004101","Buildings Depreciation","asset_fixed","False","","True","","",""
|
||||
"005000","005000","Vehicles","asset_fixed","False","","True","PT_20_S","Purchase of a car, including second hand or after-lease contract","asset_vehicles"
|
||||
"005100","005100","Vehicles Depreciation","asset_fixed","False","","True","","",""
|
||||
"006000","006000","Furniture & material","asset_fixed","False","","True","PT_20_S","Large expenses related to workplaces","asset_furniture"
|
||||
"006100","006100","Furniture & material Depreciation","asset_fixed","False","","True","","",""
|
||||
"007000","007000","Plant and machinery","asset_fixed","False","","True","PT_20_S","Machinery and tools directly related to your business","asset_plant_machinery"
|
||||
"007100","007100","Plant and machinery Depreciation","asset_fixed","False","","True","","",""
|
||||
"008000","008000","Other property","asset_fixed","False","","True","","Other type of property, like plants, machinery or various equipment","asset_other_property"
|
||||
"008100","008100","Other property Depreciation","asset_fixed","False","","True","","",""
|
||||
"009000","009000","Vehicle accessories","asset_fixed","False","","True","PT_20_S","All accessories purchases related to your professional vehicle","asset_vehicle_accessories"
|
||||
"009100","009100","Vehicle accessories Depreciation","asset_fixed","False","","True","","",""
|
||||
"100100","100100","Stock","asset_current","True","","True","","",""
|
||||
"100200","100200","Work in Progress","asset_current","False","","True","","",""
|
||||
"100300","100300","Finished Goods","asset_current","False","","True","","",""
|
||||
"110000","110000","Debtors Control Account","asset_receivable","True","","True","","",""
|
||||
"110100","110100","Sundry Debtors","asset_receivable","True","","True","","",""
|
||||
"110200","110200","Other Debtors","asset_current","False","","True","","",""
|
||||
"110300","110300","Prepayments","asset_current","False","","True","","",""
|
||||
"110400","110400","Debtors Control Account (PoS)","asset_receivable","True","","True","","",""
|
||||
"124000","124000","Company Credit Card","asset_current","True","","True","","",""
|
||||
"210000","210000","Creditors Control Account","liability_payable","True","","True","","",""
|
||||
"210100","210100","Sundry Creditors","liability_current","False","","True","","",""
|
||||
"210200","210200","Other Creditors","liability_current","False","","True","","",""
|
||||
"210900","210900","Accruals","liability_current","False","","True","","",""
|
||||
"215000","215000","Bad debt provision","liability_current","False","","True","","",""
|
||||
"220000","220000","Sales Tax Control Account","liability_current","False","","True","","",""
|
||||
"220100","220100","Purchase Tax Control Account","asset_current","False","","True","","",""
|
||||
"220200","220200","HMRC - VAT Account","liability_payable","True","True","True","","",""
|
||||
"220400","220400","Manual Adjustments ヨ VAT","liability_current","False","","True","","",""
|
||||
"221000","221000","P.A.Y.E. & NI","liability_payable","True","","True","","",""
|
||||
"222000","222000","Net Wages","liability_payable","True","","True","","",""
|
||||
"223000","223000","Pension Fund","liability_payable","True","","True","","",""
|
||||
"230000","230000","Loans","liability_current","False","","True","","",""
|
||||
"231000","231000","Hire Purchase","liability_current","False","","True","","",""
|
||||
"232000","232000","Corporation Tax","liability_payable","True","","True","","",""
|
||||
"233000","233000","Mortgages","liability_current","False","","True","","",""
|
||||
"300000","300000","Called up share capital","equity","False","","True","","",""
|
||||
"301000","301000","Share premium account","equity","False","","True","","",""
|
||||
"302000","302000","Revaluation reserve","equity","False","","True","","",""
|
||||
"303000","303000","Other reserves","equity","False","","True","","",""
|
||||
"400000","400000","Sales category 1","income","False","","True","","",""
|
||||
"400100","400100","Sales category 2","income","False","","True","","",""
|
||||
"400200","400200","Sales category 3","income","False","","True","","",""
|
||||
"400300","400300","Sales category 4","income","False","","True","","",""
|
||||
"490000","490000","Bank Interest received","income","False","","True","","",""
|
||||
"491000","491000","Investment Interest received","income","False","","True","","",""
|
||||
"500000","500000","Cost of sales 1","expense_direct_cost","False","","True","PT_20_S","",""
|
||||
"500100","500100","Cost of sales 2","expense_direct_cost","False","","True","PT_20_S","",""
|
||||
"500200","500200","Cost of sales 3","expense_direct_cost","False","","True","PT_20_S","",""
|
||||
"500300","500300","Cost of sales 4","expense_direct_cost","False","","True","PT_20_S","",""
|
||||
"600000","600000","Advertising","expense","False","","True","PT_20_S","Publicity fees for your activity, including promotional material, marketing and POS",""
|
||||
"600100","600100","Exhibitions and events","expense","False","","True","PT_20_S","Costs for attending or hosting trade shows and events",""
|
||||
"600200","600200","PR","expense","False","","False","PT_20_S","Expenses for public relations and media activities",""
|
||||
"603000","603000","Shipping","expense","False","","True","PT_20_S","Costs of transporting goods to customers, including postage and courier services",""
|
||||
"610000","610000","Business gifts","expense","False","","True","PT_20_S","Under 50£ Business gifts to clients",""
|
||||
"620000","620000","Membership fees","expense","False","","True","PT_20_S","Subscriptions to clubs and associations related to your business",""
|
||||
"630000","630000","Raw materials","expense","False","","True","PT_20_G","All goods purchased as raw materials used by your activity",""
|
||||
"640000","640000","Consumables","expense","False","","True","PT_20_G","Consumables bought and used in the context of your activity",""
|
||||
"650000","650000","Studies & works","expense","False","","True","PT_20_S","Compensation and fees paid to other parties",""
|
||||
"660000","660000","Goods for resale","expense","False","","True","PT_20_G","Goods you buy to resale later, as part of your activity",""
|
||||
"670000","670000","Social Security","expense","False","","True","PT2","All fees related to pension plans and social security contributions",""
|
||||
"680000","680000","Property tax","expense","False","","True","PT2","Local taxes that have to paid due to the ownership of property",""
|
||||
"690000","690000","Import fees","expense","False","","True","PT_20_S","Customs fees incurred while importing goods from outside of the European Union",""
|
||||
"700000","700000","Directors pension","expense","False","","False","","",""
|
||||
"700100","700100","Employees compensation","expense","False","","True","","Compensation costs for employees and manual workers employed by the company",""
|
||||
"701000","701000","Admin gross salaries","expense","False","","False","","",""
|
||||
"701100","701100","Management gross salaries","expense","False","","False","","",""
|
||||
"701200","701200","Employers NIC","expense","False","","False","","Employer’s National Insurance contributions payable to HMRC as part of staff payroll costs",""
|
||||
"702000","702000","General subcontracting","expense","False","","True","PT_20_S","Compensation and fees with other partners that act as subcontractors or consultants for your activity",""
|
||||
"703000","703000","Other personel costs","expense","False","","True","PT_20_S","Company's personel costs excluding compensations, contributions and vouchers",""
|
||||
"710000","710000","Office Rent","expense","False","","True","PT_20_S","Rental fees related to your workplace",""
|
||||
"711000","711000","Water, electricity, gas","expense","False","","True","PT_20_S","Bills from your water and energy suppliers (light, heat and power)",""
|
||||
"712000","712000","Office Maintenance services","expense","False","","True","PT_20_S","Services related to the maintenance of your worplace, like repair or cleaning fees",""
|
||||
"720000","720000","Public transportation","expense","False","","True","PT2","Travel expenses done using public transportation (metro, bus, tramways, ...)",""
|
||||
"730000","730000","Car rent","expense","False","","True","PT_20_S","Rental of vehicle, including shared services, but excluding leasing",""
|
||||
"730100","730100","Fuel","expense","False","","True","PT_20_S","All fuel expenses for a car",""
|
||||
"730200","730200","Car maintenance","expense","False","","True","PT_20_S","Expenses made for the repair and maintenance of a vehicle",""
|
||||
"740000","740000","Flights","expense","False","","True","PT2","All expenses related to travel by plane",""
|
||||
"750200","750200","Telephone","expense","False","","True","PT_20_S","Phone bills incurred",""
|
||||
"750300","750300","Internet","expense","False","","True","PT_20_S","Internet or hosting bills incurred",""
|
||||
"750600","750600","Office supplies","expense","False","","True","PT_20_G","Various supplies and consumables bought for your workplace or office, like pencils, paper etc",""
|
||||
"750601","750601","Office services","expense","False","","True","PT_20_S","All expenses made for your office or workplace that are not material goods",""
|
||||
"750700","750700","Postage and Carriage","expense","False","","False","PT2","Costs of sending mail and small parcels",""
|
||||
"750800","750800","Books","expense","False","","False","PT_20_G","Expenses for books, manuals, and reference materials",""
|
||||
"751000","751000","Software","expense","False","","True","PT_20_S","Licenses or computer services (like repairs or upgrades)",""
|
||||
"751200","751200","Recruitment fees","expense","False","","False","PT_20_S","Costs for hiring staff, including agency or advertising fees",""
|
||||
"751300","751300","Administration fees","expense","False","","True","PT_20_S","Services incurred for the administration of your business (excluding supplies)",""
|
||||
"760100","760100","Accounting","expense","False","","True","PT_20_S","Bills from your accountant or accounting firm",""
|
||||
"760200","760200","Auditing","expense","False","","True","PT_20_S","Bills from your auditor or auditing firm",""
|
||||
"761000","761000","Consultancy","expense","False","","True","PT_20_S","Bills from your consultant or consulting firm",""
|
||||
"762000","762000","Legal expenses","expense","False","","True","PT_20_S","Bills from lawyers, fees paid to the justice system",""
|
||||
"770000","770000","Exchange gains/losses","expense","False","","True","","Profits or losses from currency exchange fluctuations",""
|
||||
"771000","771000","Sundry expenses","expense","False","","True","PT_20_S","Miscellaneous minor expenses",""
|
||||
"785000","785000","Bad debts","expense","False","","True","","Unrecoverable amounts owed by customers",""
|
||||
"790000","790000","Interest paid","expense","False","","True","PT2","Costs of interest on loans and borrowings",""
|
||||
"791000","791000","Bank fees","expense","False","","True","PT2","Nasty bank, credit card and other financial charges",""
|
||||
"800000","800000","Intangible assets depreciation","expense","False","","True","","Depreciation of non-physical assets like software or patents",""
|
||||
"800100","800100","Tangible assets depreciation","expense","False","","True","","Depreciation of physical assets like equipment or vehicles",""
|
||||
"810000","810000","Training and documentation","expense","False","","True","PT_20_S","Training fees not including food and drinks",""
|
||||
"820000","820000","Donations","expense","False","","False","PT2","Charitable contributions made by the business",""
|
||||
"830000","830000","Entertaining","expense","False","","False","PT_20_S","Costs of meals or events for clients, suppliers, or staff",""
|
||||
"840000","840000","Insurance","expense","False","","True","PT2","Business-related insurance fees for property (fire insurance), legal costs, and third-party liability",""
|
||||
"850000","850000","Other travel costs","expense","False","","True","PT_20_S","Expenses incurred during business trips (Excluding Flights, Hotels, Daily expenses, public transportation)",""
|
||||
"860000","860000","Hotels","expense","False","","True","PT_20_S","Hotel or B&B bills incurred during business trips",""
|
||||
"870000","870000","Bar & Restaurant","expense","False","","True","PT_20_S","Expenses incurred when eating or drinking at bars or restaurants",""
|
||||
"870001","870001","Food: Reception & delivery","expense","False","","True","PT_20_S","Food or drinks incurred outside of bars or restaurants, like receptions, canteen and food delivery, etc",""
|
||||
"880000","880000","Corporation tax","expense","False","","False","","Estimated tax due on company profits",""
|
||||
"900000","900000","Profits/Losses on disposals of assets","income","False","","True","","",""
|
||||
"999999","999999","Undistributed Profits/Losses","equity_unaffected","False","","True","","",""
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
"id","account_asset_id","account_depreciation_id","account_depreciation_expense_id","name","method_number","method_period"
|
||||
"asset_technology","001000","001100","751000","Technology","3","12"
|
||||
"asset_patents","002000","002100","800000","Patents & Trademarks","10","12"
|
||||
"asset_installations","003000","003100","800100","Installations","10","12"
|
||||
"asset_buildings","004001","004101","800100","Buildings","30","12"
|
||||
"asset_vehicles","005000","005100","800100","Vehicles","5","12"
|
||||
"asset_furniture","006000","006100","750600","Furniture & material","5","12"
|
||||
"asset_plant_machinery","007000","007100","800100","Plant and machinery","5","12"
|
||||
"asset_other_property","008000","008100","800100","Other property","5","12"
|
||||
"asset_vehicle_accessories","009000","009100","800100","Vehicle accessories","5","12"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
"id","name","auto_apply","vat_required","sequence","country_id","country_group_id","active"
|
||||
"account_fiscal_position_domestic","United Kingdom","True","False","2","","l10n_uk.country_group_ukxi","True"
|
||||
"account_fiscal_position_ni_to_eu_b2b","Northern Ireland to European Union member states B2B","True","True","3","","account.europe_vat","False"
|
||||
"account_fiscal_position_rest_of_world_b2b","Rest of the world","True","False","4","","","True"
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
"id","sequence","description","invoice_label","type_tax_use","tax_scope","name","amount_type","amount","tax_group_id","active","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent","fiscal_position_ids","original_tax_ids"
|
||||
"ST11","1","","20%","sale","","20%","percent","20.0","tax_group_20","True","base","invoice","6","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","1","220000","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","1","220000","","",""
|
||||
"ST5","2","","5%","sale","","5%","percent","5.0","tax_group_5","True","base","invoice","6","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","1","220000","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","1","220000","","",""
|
||||
"ST0","3","Zero Rated Sales","0%","sale","","0%","percent","0.0","tax_group_0","True","base","invoice","6","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"ST2","4","","Exempt","sale","","Exempt","percent","0.0","tax_group_0","True","base","invoice","6","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"ST4","5","","0%","sale","","0% EU (NIR)","percent","0.0","tax_group_0","False","base","invoice","8||6","","","account_fiscal_position_ni_to_eu_b2b","ST5,ST0,ST2,ST_0_EX,ST11"
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","8||6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"ST_20_RCD","6","Reverse Charge (Domestic)","Reverse Charge: S55A VATA 94 applies","sale","consu","0% RC","percent","0","tax_group_0","True","base","invoice","6","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","100","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"ST_0_EX","7","","0%","sale","","0% EX","percent","0.0","tax_group_0","True","base","invoice","6","","","account_fiscal_position_rest_of_world_b2b","ST5,ST0,ST2,ST11,ST4"
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","6","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"PT_20_G","101","","20%","purchase","consu","20% G","percent","20.0","tax_group_20","True","base","invoice","7","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","","",""
|
||||
"PT_20_S","102","","20%","purchase","service","20% S","percent","20.0","tax_group_20","True","base","invoice","7","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","","",""
|
||||
"PT2","103","","Exempt","purchase","","Exempt","percent","0.0","tax_group_0","True","base","invoice","7","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"PT5","104","","5%","purchase","","5%","percent","5.0","tax_group_5","True","base","invoice","7","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","","",""
|
||||
"PT_20_RCD","105","Reverse Charge (Domestic)","20% Reverse Charge","purchase","","20% RC","percent","20.0","tax_group_20","True","base","invoice","7","","","account_fiscal_position_domestic",""
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","100","",""
|
||||
"","","","","","","","","","","","tax","invoice","1","220000","-100","",""
|
||||
"","","","","","","","","","","","base","refund","7","","100","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","100","",""
|
||||
"","","","","","","","","","","","tax","refund","1","220000","-100","",""
|
||||
"PT8","106","","20%","purchase","","20% EU (NIR)","percent","20.0","tax_group_0","False","base","invoice","9||7","","","account_fiscal_position_ni_to_eu_b2b","PT_20_G,PT_20_PVA"
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","","",""
|
||||
"","","","","","","","","","","","tax","invoice","2","220100","-100","",""
|
||||
"","","","","","","","","","","","base","refund","9||7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","","",""
|
||||
"","","","","","","","","","","","tax","refund","2","220100","-100","",""
|
||||
"PT7","107","","0%","purchase","","0% EU (NIR)","percent","0.0","tax_group_0","False","base","invoice","9||7","","","account_fiscal_position_ni_to_eu_b2b","PT2,PT_0_EX"
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","9||7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
"PT_20_RCI","108","Reverse Charge (International)","20% Reverse Charge","purchase","service","20% RC EX","percent","20.0","tax_group_20","True","base","invoice","6rc||7","","","account_fiscal_position_ni_to_eu_b2b,account_fiscal_position_rest_of_world_b2b","PT_20_S"
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","100","",""
|
||||
"","","","","","","","","","","","tax","invoice","1","220000","-100","",""
|
||||
"","","","","","","","","","","","base","refund","6rc||7","","100","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","100","",""
|
||||
"","","","","","","","","","","","tax","refund","1","220000","-100","",""
|
||||
"PT_20_PVA","109","20% Postponed Import VAT","20% PVA","purchase","consu","20% PVA","percent","20.0","tax_group_20","True","base","invoice","7","","","account_fiscal_position_rest_of_world_b2b","PT_20_G"
|
||||
"","","","","","","","","","","","tax","invoice","4","220100","","",""
|
||||
"","","","","","","","","","","","tax","invoice","1","220000","-100","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","4","220100","","",""
|
||||
"","","","","","","","","","","","tax","refund","1","220000","-100","",""
|
||||
"PT_0_EX","110","","0%","purchase","","0% EX","percent","0.0","tax_group_0","True","base","invoice","7","","","account_fiscal_position_rest_of_world_b2b","PT2,PT8,PT7"
|
||||
"","","","","","","","","","","","tax","invoice","","","","",""
|
||||
"","","","","","","","","","","","base","refund","7","","","",""
|
||||
"","","","","","","","","","","","tax","refund","","","","",""
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
"id","name","country_id","tax_payable_account_id","tax_receivable_account_id"
|
||||
"tax_group_0","TAX 0%","base.uk","220200","220200"
|
||||
"tax_group_5","TAX 5%","base.uk","220200","220200"
|
||||
"tax_group_175","TAX 17.5%","base.uk","220200","220200"
|
||||
"tax_group_20","TAX 20%","base.uk","220200","220200"
|
||||
|
|
|
@ -1,34 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="partner_demo_company_uk" model="res.partner">
|
||||
<record id="base.partner_demo_company_uk" model="res.partner" forcecreate="1">
|
||||
<field name="name">UK Company</field>
|
||||
<field name="vat"></field>
|
||||
<field name="street"></field>
|
||||
<field name="city"></field>
|
||||
<field name="vat"/>
|
||||
<field name="street"/>
|
||||
<field name="city"/>
|
||||
<field name="country_id" ref="base.uk"/>
|
||||
<field name="state_id" ref="base.state_uk119"/>
|
||||
<field name="zip"></field>
|
||||
<field name="zip"/>
|
||||
<field name="phone">+32 010 12 34 56</field>
|
||||
<field name="email">info@company.ukexample.com</field>
|
||||
<field name="website">www.ukexample.com</field>
|
||||
<field name="is_company" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record id="demo_company_uk" model="res.company">
|
||||
<record id="base.demo_company_uk" model="res.company" forcecreate="1">
|
||||
<field name="name">UK Company</field>
|
||||
<field name="partner_id" ref="partner_demo_company_uk"/>
|
||||
<field name="partner_id" ref="base.partner_demo_company_uk"/>
|
||||
</record>
|
||||
|
||||
<record id="base.demo_bank_uk" model="res.partner.bank" forcecreate="1">
|
||||
<field name="acc_number">GB46BARC20038484747597</field>
|
||||
<field name="partner_id" ref="base.partner_demo_company_uk"/>
|
||||
<field name="company_id" ref="base.demo_company_uk"/>
|
||||
<field name="allow_out_payment" eval="True"/>
|
||||
</record>
|
||||
|
||||
<function model="res.company" name="_onchange_country_id">
|
||||
<value eval="[ref('demo_company_uk')]"/>
|
||||
<value eval="[ref('base.demo_company_uk')]"/>
|
||||
</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_uk.demo_company_uk'))]}"/>
|
||||
<value eval="{'company_ids': [(4, ref('base.demo_company_uk'))]}"/>
|
||||
</function>
|
||||
|
||||
<function model="account.chart.template" name="try_loading">
|
||||
<value eval="[ref('l10n_uk.l10n_uk')]"/>
|
||||
<value model="res.company" eval="obj().env.ref('l10n_uk.demo_company_uk')"/>
|
||||
<value eval="[]"/>
|
||||
<value>uk</value>
|
||||
<value model="res.company" eval="obj().env.ref('base.demo_company_uk')"/>
|
||||
<value name="install_demo" eval="True"/>
|
||||
</function>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
from odoo import api, SUPERUSER_ID
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
env = api.Environment(cr, SUPERUSER_ID, {})
|
||||
for company in env['res.company'].search([('chart_template', '=', 'uk')], order="parent_path"):
|
||||
env['account.chart.template'].try_loading('uk', company, force_create=False)
|
||||
3
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/__init__.py
Normal file
3
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import template_uk
|
||||
from . import template_xi
|
||||
63
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_uk.py
Normal file
63
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_uk.py
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# 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('uk')
|
||||
def _get_uk_template_data(self):
|
||||
return {
|
||||
'property_account_receivable_id': '110000',
|
||||
'property_account_payable_id': '210000',
|
||||
'code_digits': '6',
|
||||
}
|
||||
|
||||
@template('uk', 'res.company')
|
||||
def _get_uk_res_company(self):
|
||||
return {
|
||||
self.env.company.id: {
|
||||
'anglo_saxon_accounting': True,
|
||||
'account_fiscal_country_id': 'base.uk',
|
||||
'bank_account_code_prefix': '1200',
|
||||
'cash_account_code_prefix': '1210',
|
||||
'transfer_account_code_prefix': '1220',
|
||||
'account_default_pos_receivable_account_id': '110400',
|
||||
'income_currency_exchange_account_id': '770000',
|
||||
'expense_currency_exchange_account_id': '770000',
|
||||
'account_sale_tax_id': 'ST11',
|
||||
'account_purchase_tax_id': 'PT_20_G',
|
||||
'expense_account_id': '500000',
|
||||
'income_account_id': '400000',
|
||||
'deferred_expense_account_id': '110300',
|
||||
'deferred_revenue_account_id': '210900',
|
||||
'account_stock_journal_id': 'inventory_valuation',
|
||||
'account_stock_valuation_id': '100100',
|
||||
},
|
||||
}
|
||||
|
||||
def _post_load_data(self, template_code, company, template_data):
|
||||
"""If the company is located in Northern Ireland, activate the relevant taxes and fiscal postions."""
|
||||
result = super()._post_load_data(template_code, company, template_data)
|
||||
|
||||
is_ni_state = {
|
||||
'base.state_uk18', 'base.state_uk19', 'base.state_uk20', 'base.state_uk21',
|
||||
'base.state_uk22', 'base.state_uk23', 'base.state_uk24',
|
||||
}.intersection(
|
||||
company.state_id._get_external_ids().get(company.state_id.id, [])
|
||||
)
|
||||
|
||||
if is_ni_state or company.country_id.code == 'XI':
|
||||
for xmlid in ['PT8', 'ST4', 'PT7', 'account_fiscal_position_ni_to_eu_b2b']:
|
||||
self.ref(xmlid).active = True
|
||||
|
||||
return result
|
||||
|
||||
@template('uk', 'account.account')
|
||||
def _get_uk_account_account(self):
|
||||
return {
|
||||
'100100': {
|
||||
'account_stock_variation_id': '630000',
|
||||
},
|
||||
}
|
||||
18
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_xi.py
Normal file
18
odoo-bringout-oca-ocb-l10n_uk/l10n_uk/models/template_xi.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 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('xi')
|
||||
def _get_mc_template_data(self):
|
||||
return {
|
||||
'parent': 'uk',
|
||||
}
|
||||
|
||||
def _deref_account_tags(self, template_code, tax_data):
|
||||
if template_code == 'xi':
|
||||
template_code = 'uk'
|
||||
return super()._deref_account_tags(template_code, tax_data)
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 25 KiB |
|
|
@ -1,14 +1,16 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-l10n_uk"
|
||||
version = "16.0.0"
|
||||
description = "United Kingdom - Accounting - Odoo addon"
|
||||
description = "United Kingdom - 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_iban>=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_iban>=19.0.0",
|
||||
"odoo-bringout-oca-ocb-base_vat>=19.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
|
|
@ -18,7 +20,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