From 87eddb19d3b36ab9b1859e9f03be87c819c9eb53 Mon Sep 17 00:00:00 2001 From: Vadim - SmartMode LTD <> Date: Fri, 16 Sep 2011 16:01:34 +0200 Subject: [PATCH] [IMP] l10n_uk: replaced the old chart of accounts by a new one. Courtesy to Vadim - SmartMode LTD bzr revid: qdp-launchpad@openerp.com-20110916140134-27ucx18mw8cmk4c4 --- addons/l10n_uk/__init__.py | 36 +-- addons/l10n_uk/__openerp__.py | 83 ++---- .../l10n_uk/data/account.account.template.csv | 139 ++++++++++ addons/l10n_uk/data/account.account.type.csv | 13 + .../l10n_uk/data/account.chart.template.csv | 2 + .../data/account.tax.code.template.csv | 10 + addons/l10n_uk/data/account.tax.template.csv | 14 + addons/l10n_uk/data/res.country.state.csv | 120 ++++++++ addons/l10n_uk/demo/demo.xml | 24 ++ addons/l10n_uk/l10n_uk_chart.xml | 249 ----------------- addons/l10n_uk/l10n_uk_tax.xml | 260 ------------------ addons/l10n_uk/l10n_uk_types.xml | 99 ------- addons/l10n_uk/l10n_uk_wizard.xml | 56 +++- 13 files changed, 399 insertions(+), 706 deletions(-) create mode 100644 addons/l10n_uk/data/account.account.template.csv create mode 100644 addons/l10n_uk/data/account.account.type.csv create mode 100644 addons/l10n_uk/data/account.chart.template.csv create mode 100644 addons/l10n_uk/data/account.tax.code.template.csv create mode 100644 addons/l10n_uk/data/account.tax.template.csv create mode 100644 addons/l10n_uk/data/res.country.state.csv create mode 100644 addons/l10n_uk/demo/demo.xml delete mode 100644 addons/l10n_uk/l10n_uk_chart.xml delete mode 100644 addons/l10n_uk/l10n_uk_tax.xml delete mode 100644 addons/l10n_uk/l10n_uk_types.xml diff --git a/addons/l10n_uk/__init__.py b/addons/l10n_uk/__init__.py index c417d8b0478..a95e47ee5d2 100644 --- a/addons/l10n_uk/__init__.py +++ b/addons/l10n_uk/__init__.py @@ -1,34 +1,22 @@ -# -*- coding: utf-8 -*- +# -*- encoding: utf-8 -*- ############################################################################## # -# Copyright (c) 2004-2009 Seath Solutions Ltd. All Rights Reserved. -# Geoff Gardiner, Seath Solutions Ltd (http://www.seathsolutions.com/) -# $Id$ +# Copyright (C) 2011 Smartmode LTD (). # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # -# This program is Free Software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . # ############################################################################## # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/l10n_uk/__openerp__.py b/addons/l10n_uk/__openerp__.py index b87352e2c02..58a687e4be9 100644 --- a/addons/l10n_uk/__openerp__.py +++ b/addons/l10n_uk/__openerp__.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- +# -*- encoding: utf-8 -*- ############################################################################## # -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). +# Copyright (C) 2011 Smartmode LTD (). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -19,68 +18,32 @@ # ############################################################################## -# -# This module provides a minimal UK chart of accounts for building upon further -# OpenERP's default currency and accounts are remapped to this chart -# -# This module works for OpenERP 4.1.0 (and, assumed, onwards). -# This module does not work for OpenERP 4.0.2 and before. -# -# VAT is structured thus: -# - the user company is assumed to be non-VAT exempt (easy to modify, however) -# - categories OVATS (Standard), OVATR (Reduced), OVATZ (Zero) should be -# assigned to the customer taxes section of products (depending on the product) -# - categories IVATS (Standard), IVATR (Reduced), IVATZ (Zero) should be -# assigned to the supplier taxes section of products (depending on the product) -# - categories OVATX (eXempt), OVATO (Out of scope), or nothing at all should be -# assigned to default tax field of customers (depending on the customer) -# - customer categorization trumps product categorization (unchanged Tiny functionality) -# - on purchases, upon invoicing -# - the base amount (ex-VAT) appears in the appropriate input base category (S, R, Z) -# - the VAT amount appears in the appropriate input VAT category (S, R) -# - invoice lines can be traced in these VAT categories -# - refunds of invoices are deducted from the input category -# - on sales, upon invoicing -# - the base amount (ex-VAT) appears in the appropriate output base category (S, R, Z, X, O) -# - the VAT amount appears in the appropriate output VAT category (S, R) -# - invoice lines can be traced in these VAT categories -# - refunds of invoices are deducted from the output category -# -# This forms a basis for accrual tax accounting -# Cash tax accounting can be accommodated with further processing in OpenERP -# -# Status beta 0.92 - tested on OpenERP 4.1.0 -# Status beta 0.93 - tested on OpenERP 4.1.0 -# - trivial change to depend only on 'account' -# (seemed to be important for importing with no demo data) -# Status 1.0 - tested on OpenERP 4.1.0, 4.0.3 -# - COGS account type fixed -# { - 'name': 'United Kingdom - minimal', - 'version': '1.1', - 'category': 'Finance', - 'description': """ -This is the base module to manage the accounting chart for United Kingdom in OpenERP. -===================================================================================== - -British accounting chart and localization. - """, - 'author': 'Seath Solutions Ltd', - 'website': 'http://www.seathsolutions.com', + 'name': 'UK Chart of Accounts - latest (Smartode/CT600)', + 'version': '1.0', + 'category': 'Localisation/Account Charts', + 'description': """This is the latest UK OpenERP localisation necesary to run OpenERP accounting for UK SME's with: + - a CT600-ready chart of accounts + - VAT100-ready tax structure + - InfoLogic UK counties listing + - a few other adaptations""", + 'author': 'SmartMode LTD', + 'website': 'http://www.smartmode.co.uk', 'depends': ['base_iban', 'base_vat', 'account_chart'], 'init_xml': [], 'update_xml': [ - 'l10n_uk_types.xml', - 'l10n_uk_chart.xml', - 'l10n_uk_tax.xml', - 'l10n_uk_wizard.xml' + 'data/account.account.type.csv', + 'data/account.account.template.csv', + 'data/account.tax.code.template.csv', + 'data/account.chart.template.csv', + 'data/account.tax.template.csv', + 'data/res.country.state.csv', + 'l10n_uk_wizard.xml', ], - 'demo_xml': [], - 'installable': True, - 'active': False, - 'certificate': '008956603329629', - 'images': ['images/config_chart_l10n_uk.jpeg','images/l10n_uk_chart.jpeg'], + 'demo_xml' : [ + 'demo/demo.xml' + ], + 'installable': 'True' } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_uk/data/account.account.template.csv b/addons/l10n_uk/data/account.account.template.csv new file mode 100644 index 00000000000..d07693fd022 --- /dev/null +++ b/addons/l10n_uk/data/account.account.template.csv @@ -0,0 +1,139 @@ +"id","code","name","parent_id:id","type","user_type:id","reconcile" +"UK0","0","Company",,"view","account_type_view","FALSE" +"BAL","BAL","Balance Sheet","UK0","view","account_type_view","FALSE" +"A000","A000","Fixed assets","BAL","view","account_type_view","FALSE" +"A010","A010","Intangible assets","A000","view","account_type_view","FALSE" +"0010","0010","Software","A010","other","account_type_fixed_assets","FALSE" +"0011","0011","Software Depreciation","A010","other","account_type_fixed_assets","FALSE" +"0020","0020","Patents & Trademarks","A010","other","account_type_fixed_assets","FALSE" +"0021","0021","Patents & Trademarks Depreciation","A010","other","account_type_fixed_assets","FALSE" +"A020","A020","Tangible assets","A000","view","account_type_view","FALSE" +"0030","0030","Fixtures and fittings","A020","other","account_type_fixed_assets","FALSE" +"0031","0031","Fixtures and fittings Depreciation","A020","other","account_type_fixed_assets","FALSE" +"0040","0040","Land and buildings","A020","other","account_type_fixed_assets","FALSE" +"0041","0041","Land and buildings Depreciation","A020","other","account_type_fixed_assets","FALSE" +"0050","0050","Motor vehicles","A020","other","account_type_fixed_assets","FALSE" +"0051","0051","Motor vehicles Depreciation","A020","other","account_type_fixed_assets","FALSE" +"0060","0060","Office equipment (inc computer equipment)","A020","other","account_type_fixed_assets","FALSE" +"0061","0061","Office equipment (inc computer equipment) Depreciation","A020","other","account_type_fixed_assets","FALSE" +"0070","0070","Plant and machinery","A020","other","account_type_fixed_assets","FALSE" +"0071","0071","Plant and machinery Depreciation","A020","other","account_type_fixed_assets","FALSE" +"A030","A030","Investments","A000","view","account_type_view","FALSE" +"B000","B000","Current assets","BAL","view","account_type_view","FALSE" +"B010","B010","Stocks & WIP","B000","view","account_type_view","FALSE" +"1001","1001","Stock","B010","other","account_type_current_assets","TRUE" +"1002","1002","Work in Progress","B010","other","account_type_current_assets","FALSE" +"1003","1003","Finished Goods","B010","other","account_type_current_assets","FALSE" +"B020","B020","Trade Debtors","B000","view","account_type_view","FALSE" +"1100","1100","Debtors Control Account","B020","receivable","account_type_receivable","TRUE" +"1101","1101","Sundry Debtors","B020","receivable","account_type_receivable","TRUE" +"1102","1102","Other Debtors","B020","other","account_type_current_assets","FALSE" +"B030","B030","Investment current assets","B000","view","account_type_view","FALSE" +"B040","B040","Cash at bank and in hand","B000","view","account_type_view","FALSE" +"1200","1200","Bank Accounts","B040","liquidity","account_type_current_assets","TRUE" +"1240","1240","Company Credit Card","B040","liquidity","account_type_current_assets","TRUE" +"B050","B050","Prepayments and accrued income","B000","view","account_type_view","FALSE" +"1103","1103","Prepayments","B050","other","account_type_current_assets","FALSE" +"C000","C000","Current Liabilities","BAL","view","account_type_view","FALSE" +"C010","C010","Creditors due within one year","C000","view","account_type_view","FALSE" +"2100","2100","Creditors Control Account","C010","payable","account_type_payable","TRUE" +"2101","2101","Sundry Creditors","C010","other","account_type_current_liabilities","FALSE" +"2102","2102","Other Creditors","C010","other","account_type_current_liabilities","FALSE" +"2200","2200","Sales Tax Control Account","C010","other","account_type_output_tax","FALSE" +"2201","2201","Purchase Tax Control Account","C010","other","account_type_input_tax","FALSE" +"2202","2202","HMRC - VAT Account","C010","payable","account_type_payable","TRUE" +"2204","2204","Manual Adjustments οΎ– VAT","C010","other","account_type_current_liabilities","FALSE" +"2210","2210","P.A.Y.E. & NI","C010","payable","account_type_payable","TRUE" +"2220","2220","Net Wages","C010","payable","account_type_payable","TRUE" +"2230","2230","Pension Fund","C010","payable","account_type_payable","TRUE" +"C020","C020","Provisions for liabilities and charges","C000","view","account_type_view","FALSE" +"2150","2150","Bad debt provision","C020","other","account_type_current_liabilities","FALSE" +"C030","C030","Accruals and deferred income","C000","view","account_type_view","FALSE" +"2109","2109","Accruals","C030","other","account_type_current_liabilities","FALSE" +"2320","2320","Corporation Tax","C030","payable","account_type_payable","TRUE" +"D000","D000","Non Current Liabilities","BAL","view","account_type_view","FALSE" +"D010","D010","Creditors due after one year","D000","view","account_type_view","FALSE" +"2300","2300","Loans","D010","other","account_type_current_liabilities","FALSE" +"2310","2310","Hire Purchase","D010","other","account_type_current_liabilities","FALSE" +"2330","2330","Mortgages","D010","other","account_type_current_liabilities","FALSE" +"E000","E000","Capital & Reserves","BAL","view","account_type_view","FALSE" +"3000","3000","Called up share capital","E000","other","account_type_equity","FALSE" +"3010","3010","Share premium account","E000","other","account_type_equity","FALSE" +"3020","3020","Revaluation reserve","E000","other","account_type_equity","FALSE" +"3030","3030","Other reserves","E000","other","account_type_equity","FALSE" +"3200","3200","Profit and loss account","E000","other","account_type_profit_and_loss","FALSE" +"PNL","PNL","Profit and Loss","UK0","view","account_type_view","FALSE" +"F000","F000","Turnover","PNL","view","account_type_view","FALSE" +"4000","4000","Sales category 1","F000","other","account_type_income","FALSE" +"4001","4001","Sales category 2","F000","other","account_type_income","FALSE" +"4002","4002","Sales category 3","F000","other","account_type_income","FALSE" +"4003","4003","Sales category 4","F000","other","account_type_income","FALSE" +"G000","G000","Cost of sales","PNL","view","account_type_view","FALSE" +"5000","5000","Cost of sales 1","G000","other","account_type_expense","FALSE" +"5001","5001","Cost of sales 2","G000","other","account_type_expense","FALSE" +"5002","5002","Cost of sales 3","G000","other","account_type_expense","FALSE" +"5003","5003","Cost of sales 4","G000","other","account_type_expense","FALSE" +"H000","H000","Distribution costs","PNL","view","account_type_view","FALSE" +"H010","H010","Advertising and promotions","H000","view","account_type_view","FALSE" +"6000","6000","Marketing, POS","H010","other","account_type_expense","FALSE" +"6001","6001","Exhibitions and events","H010","other","account_type_expense","FALSE" +"6002","6002","PR","H010","other","account_type_expense","FALSE" +"6010","6010","Distribution vehicles","H000","other","account_type_expense","FALSE" +"6020","6020","Distribution salaries and wages","H000","other","account_type_expense","FALSE" +"6030","6030","Shipping","H000","other","account_type_expense","FALSE" +"I000","I000","Administrative expenses","PNL","view","account_type_view","FALSE" +"I010","I010","Salaries & wages","I000","view","account_type_view","FALSE" +"7000","7000","Directors pension","I010","other","account_type_expense","FALSE" +"7001","7001","Directors remuneration","I010","other","account_type_expense","FALSE" +"7010","7010","Admin gross salaries","I010","other","account_type_expense","FALSE" +"7011","7011","Management gross salaries","I010","other","account_type_expense","FALSE" +"7012","7012","Employers NIC","I010","other","account_type_expense","FALSE" +"7020","7020","Subcontractors payments","I010","other","account_type_expense","FALSE" +"I020","I020","Legal and professional costs","I000","view","account_type_view","FALSE" +"7610","7610","Consultancy","I020","other","account_type_expense","FALSE" +"7620","7620","Legal and professional charges","I020","other","account_type_expense","FALSE" +"I025","I025","Accountancy and audit","I000","view","account_type_view","FALSE" +"7601","7601","Accounting","I025","other","account_type_expense","FALSE" +"7602","7602","Auditing","I025","other","account_type_expense","FALSE" +"I030","I030","Property costs","I000","view","account_type_view","FALSE" +"7110","7110","Light, heat and power","I030","other","account_type_expense","FALSE" +"7100","7100","Rent and rates","I030","other","account_type_expense","FALSE" +"7120","7120","Repairs, renewals and maintenance","I030","other","account_type_expense","FALSE" +"I040","I040","Vehicle expenses","I000","view","account_type_view","FALSE" +"7300","7300","Car hire","I040","other","account_type_expense","FALSE" +"7301","7301","Car fuel","I040","other","account_type_expense","FALSE" +"7302","7302","Car maintenance","I040","other","account_type_expense","FALSE" +"I050","I050","Administration and office expenses","I000","view","account_type_view","FALSE" +"7502","7502","Telephone","I050","other","account_type_expense","FALSE" +"7503","7503","Internet & hosting","I050","other","account_type_expense","FALSE" +"7504","7504","Mobiles","I050","other","account_type_expense","FALSE" +"7505","7505","Stationery","I050","other","account_type_expense","FALSE" +"7506","7506","Office consumables","I050","other","account_type_expense","FALSE" +"7507","7507","Postage and Carriage","I050","other","account_type_expense","FALSE" +"7508","7508","Books","I050","other","account_type_expense","FALSE" +"7509","7509","Network costs","I050","other","account_type_expense","FALSE" +"7510","7510","Software expenses","I050","other","account_type_expense","FALSE" +"7511","7511","Other computer costs","I050","other","account_type_expense","FALSE" +"7512","7512","Recruitment fees","I050","other","account_type_expense","FALSE" +"7513","7513","Other admin expenses","I050","other","account_type_expense","FALSE" +"I060","I060","Sundry expenses","I000","view","account_type_view","FALSE" +"7700","7700","Exchange gains/losses","I060","other","account_type_expense","FALSE" +"7710","7710","Other sundry expenses","I060","other","account_type_expense","FALSE" +"7850","7850","Bad debts","I060","other","account_type_expense","FALSE" +"7910","7910","Bank, credit card and other financial charges","I060","other","account_type_expense","FALSE" +"I070","I070","Depreciation expense","I000","view","account_type_view","FALSE" +"8000","8000","Intangible assets depn","I070","other","account_type_expense","FALSE" +"8001","8001","Tangible assets depn","I070","other","account_type_expense","FALSE" +"8200","8200","Donations","I060","other","account_type_expense","FALSE" +"8300","8300","Entertaining","I060","other","account_type_expense","FALSE" +"8400","8400","Insurance","I060","other","account_type_expense","FALSE" +"8500","8500","Travel and subsistence","I050","other","account_type_expense","FALSE" +"J000","J000","Other operating income","PNL","view","account_type_view","FALSE" +"9000","9000","Profits/Losses on disposals of assets","J000","other","account_type_income","FALSE" +"K000","K000","Interest receivable and similar income:","PNL","view","account_type_view","FALSE" +"4900","4900","Bank Interest received","K000","other","account_type_income","FALSE" +"4910","4910","Investment Interest received","K000","other","account_type_income","FALSE" +"l000","l000","Interest payable and similar charges","PNL","view","account_type_view","FALSE" +"7900","7900","Interest paid","l000","other","account_type_expense","FALSE" +"M000","M000","Tax on profit or loss on ordinary activities","PNL","view","account_type_view","FALSE" +"8800","8800","Corporation tax expense","M000","other","account_type_expense","FALSE" diff --git a/addons/l10n_uk/data/account.account.type.csv b/addons/l10n_uk/data/account.account.type.csv new file mode 100644 index 00000000000..0827975b22f --- /dev/null +++ b/addons/l10n_uk/data/account.account.type.csv @@ -0,0 +1,13 @@ +"id","name","code","report_type","close_method" +"account_type_current_assets","Current Assets","Current Assets","asset","Balance" +"account_type_current_liabilities","Current Liabilities","Current Liabilities","liability","Balance" +"account_type_equity","Equity","Equity","liability","Balance" +"account_type_expense","Expense","Expense","expense","None" +"account_type_fixed_assets","Fixed Assets","Fixed Assets","asset","Balance" +"account_type_income","Income","Income","income","None" +"account_type_payable","Payable","Payable","liability","Unreconciled" +"account_type_receivable","Receivable","Receivable","asset","Unreconciled" +"account_type_output_tax","Output Tax","Output Tax","liability","Unreconciled" +"account_type_input_tax","Input Tax","Input Tax","asset","Unreconciled" +"account_type_profit_and_loss","Profit and Loss","Profit and Loss","none","None" +"account_type_view","View","view",,"None" diff --git a/addons/l10n_uk/data/account.chart.template.csv b/addons/l10n_uk/data/account.chart.template.csv new file mode 100644 index 00000000000..9d1812a8df4 --- /dev/null +++ b/addons/l10n_uk/data/account.chart.template.csv @@ -0,0 +1,2 @@ +"id","name","account_root_id:id","tax_code_root_id:id","bank_account_view_id:id","property_account_receivable:id","property_account_payable:id","property_account_expense_categ:id","property_account_income_categ:id","property_reserve_and_surplus_account:id" +"l10n_uk","UK Tax and Account Chart Template (by SmartMode)","UK0","0","1200","1100","2100","5000","4000","3200" diff --git a/addons/l10n_uk/data/account.tax.code.template.csv b/addons/l10n_uk/data/account.tax.code.template.csv new file mode 100644 index 00000000000..eba760226e1 --- /dev/null +++ b/addons/l10n_uk/data/account.tax.code.template.csv @@ -0,0 +1,10 @@ +"id","name","code","parent_id:id","notprintable","sign" +0,"UK HMRC VAT",0,,,1 +4,"Net VAT to be paid/reclaimed",5,0,"FALSE",1 +5,"Total value of sales ex VAT (box 8 included)",6,0,"FALSE",0 +6,"Total value of purchases ex VAT",7,0,"FALSE",0 +8,"Total value of EC purchases, ex VAT",9,0,"FALSE",0 +1,"VAT on Sales and other outputs",1,4,"FALSE",1 +2,"VAT on acquisitions from other EC Member states",2,4,"FALSE",1 +3,"VAT reclaimed on purchases (EC included)",4,4,"FALSE",-1 +7,"Total value of EC sales, ex VAT",8,5,"FALSE",1 diff --git a/addons/l10n_uk/data/account.tax.template.csv b/addons/l10n_uk/data/account.tax.template.csv new file mode 100644 index 00000000000..2455b382818 --- /dev/null +++ b/addons/l10n_uk/data/account.tax.template.csv @@ -0,0 +1,14 @@ +"id","description","chart_template_id:id","type_tax_use","name","type","amount","account_collected_id:id","account_paid_id:id","base_code_id:id","tax_code_id:id","ref_base_code_id:id","ref_tax_code_id:id","tax_sign","base_sign","ref_base_sign","ref_tax_sign","parent_id:id" +"ST0","ST0","l10n_uk","sale","Zero rated sales","percent",0,2200,2200,5,1,5,1,1,1,-1,-1, +"ST1","ST1","l10n_uk","sale","Standard rate sales (17.5%)","percent",0.175,2200,2200,5,1,5,1,1,1,-1,-1, +"ST2","ST2","l10n_uk","sale","Exempt sales","percent",0,2200,2200,5,1,5,1,1,1,-1,-1, +"PT0","PT0","l10n_uk","purchase","Zero rated purchases","percent",0,2201,2201,6,3,6,3,1,1,-1,-1, +"PT1","PT1","l10n_uk","purchase","Standard rate purchases (17.5%)","percent",0.175,2201,2201,6,3,6,3,1,1,-1,-1, +"PT2","PT2","l10n_uk","purchase","Exempt purchases","percent",0,2201,2201,6,3,6,3,1,1,-1,-1, +"PT8","PT8","l10n_uk","purchase","Standard rated purchases from EC","percent",0.175,2201,2201,8,2,8,2,1,1,-1,-1, +"PT8R","PT8R","l10n_uk","purchase","Reverse EC Purchase VAT","percent",-1,2201,2201,,3,3,,-1,-1,1,1,"PT8" +"PT5","PT5","l10n_uk","purchase","Lower rate purchases (5%)","percent",0.05,2201,2201,6,3,6,3,1,1,-1,-1, +"ST4","ST4","l10n_uk","sale","Sales to customers in EC","percent",0,2200,2200,7,,7,,1,1,-1,-1, +"PT7","PT7","l10n_uk","purchase","Zero rated purchases from EC","percent",0,2201,2201,8,,8,,1,1,-1,-1, +"ST11","ST11","l10n_uk","sale","Standard rate sales (20%)","percent",0.2,2200,2200,5,1,5,1,1,1,-1,-1, +"PT11","PT11","l10n_uk","purchase","Standard rate purchases (20%)","percent",0.2,2201,2201,6,3,6,3,1,1,-1,-1, diff --git a/addons/l10n_uk/data/res.country.state.csv b/addons/l10n_uk/data/res.country.state.csv new file mode 100644 index 00000000000..bce2f3c9f36 --- /dev/null +++ b/addons/l10n_uk/data/res.country.state.csv @@ -0,0 +1,120 @@ +"id","country_id:id","code","name" +"state_uk_1","base.uk","A1","Aberdeenshire" +"state_uk_2","base.uk","A5","Angus" +"state_uk_3","base.uk","A7","Argyll" +"state_uk_4","base.uk","A9","Avon" +"state_uk_5","base.uk","B1","Ayrshire" +"state_uk_6","base.uk","B3","Banffshire" +"state_uk_7","base.uk","B5","Bedfordshire" +"state_uk_8","base.uk","B7","Berkshire" +"state_uk_9","base.uk","B9","Berwickshire" +"state_uk_10","base.uk","C1","Buckinghamshire" +"state_uk_11","base.uk","C3","Caithness" +"state_uk_12","base.uk","C5","Cambridgeshire" +"state_uk_13","base.uk","C6","Channel Islands" +"state_uk_14","base.uk","C7","Cheshire" +"state_uk_15","base.uk","C9","Clackmannanshire" +"state_uk_16","base.uk","D1","Cleveland" +"state_uk_17","base.uk","D3","Clwyd" +"state_uk_18","base.uk","D5","County Antrim" +"state_uk_19","base.uk","D7","County Armagh" +"state_uk_20","base.uk","D9","County Down" +"state_uk_21","base.uk","E1","County Durham" +"state_uk_22","base.uk","E3","County Fermanagh" +"state_uk_23","base.uk","E5","County Londonderry" +"state_uk_24","base.uk","E7","County Tyrone" +"state_uk_25","base.uk","E9","Cornwall" +"state_uk_26","base.uk","F1","Cumbria" +"state_uk_27","base.uk","F3","Derbyshire" +"state_uk_28","base.uk","F5","Devon" +"state_uk_29","base.uk","F7","Dorset" +"state_uk_30","base.uk","F9","Dumfriesshire" +"state_uk_31","base.uk","G1","Dunbartonshire" +"state_uk_32","base.uk","G3","Dyfed" +"state_uk_33","base.uk","G5","East Lothian" +"state_uk_34","base.uk","G7","East Sussex" +"state_uk_35","base.uk","G9","Essex" +"state_uk_36","base.uk","H1","Fife" +"state_uk_37","base.uk","H3","Gloucestershire" +"state_uk_38","base.uk","H7","Gwent" +"state_uk_39","base.uk","H9","Gwynedd" +"state_uk_40","base.uk","I1","Hampshire" +"state_uk_41","base.uk","I3","Herefordshire" +"state_uk_42","base.uk","I5","Hertfordshire" +"state_uk_43","base.uk","I7","Inverness-Shire" +"state_uk_44","base.uk","I9","Isle of Arran" +"state_uk_45","base.uk","J1","Isle of Barra" +"state_uk_46","base.uk","J3","Isle of Benbecula" +"state_uk_47","base.uk","J5","Isle of Bute" +"state_uk_48","base.uk","J7","Isle of Canna" +"state_uk_49","base.uk","J9","Isle of Coll" +"state_uk_50","base.uk","K1","Isle of Colonsay" +"state_uk_51","base.uk","K3","Isle of Cumbrae" +"state_uk_52","base.uk","K5","Isle of Eigg" +"state_uk_53","base.uk","K7","Isle of Gigha" +"state_uk_54","base.uk","K9","Isle of Harris" +"state_uk_55","base.uk","L1","Isle of Iona" +"state_uk_56","base.uk","L2","Isle of Islay" +"state_uk_57","base.uk","L5","Isle of Jura" +"state_uk_58","base.uk","L7","Isle of Lewis" +"state_uk_59","base.uk","L9","Isle of Man" +"state_uk_60","base.uk","M1","Isle of Mull" +"state_uk_61","base.uk","M3","Isle of North Uist" +"state_uk_62","base.uk","M7","Isle of Rhum" +"state_uk_63","base.uk","M9","Isle of Scalpay" +"state_uk_64","base.uk","N1","Shetland Islands" +"state_uk_65","base.uk","N3","Isle of Skye" +"state_uk_66","base.uk","N5","Isle of South Uist" +"state_uk_67","base.uk","N7","Isle of Tiree" +"state_uk_68","base.uk","N9","Isle of Wight" +"state_uk_69","base.uk","O5","Kent" +"state_uk_70","base.uk","O7","Kincardineshire" +"state_uk_71","base.uk","O9","Kinross-Shire" +"state_uk_72","base.uk","P1","Kirkcudbrightshire" +"state_uk_73","base.uk","P5","Lancashire" +"state_uk_74","base.uk","P7","Leicestershire" +"state_uk_75","base.uk","P9","Lincolnshire" +"state_uk_76","base.uk","Q3","Merseyside" +"state_uk_77","base.uk","Q5","Mid Glamorgan" +"state_uk_78","base.uk","Q9","Middlesex" +"state_uk_79","base.uk","R1","Morayshire" +"state_uk_80","base.uk","R3","Nairnshire" +"state_uk_81","base.uk","R7","North Humberside" +"state_uk_82","base.uk","R9","North Yorkshire" +"state_uk_83","base.uk","S1","Northamptonshire" +"state_uk_84","base.uk","S3","Northumberland" +"state_uk_85","base.uk","S5","Nottinghamshire" +"state_uk_86","base.uk","S7","Oxfordshire" +"state_uk_87","base.uk","S9","Peeblesshire" +"state_uk_88","base.uk","T1","Perthshire" +"state_uk_89","base.uk","T3","Powys" +"state_uk_90","base.uk","T5","Renfrewshire" +"state_uk_91","base.uk","T7","Ross-Shire" +"state_uk_92","base.uk","T9","Roxburghshire" +"state_uk_93","base.uk","U3","Selkirkshire" +"state_uk_94","base.uk","U5","Shropshire" +"state_uk_95","base.uk","U7","Somerset" +"state_uk_96","base.uk","U9","South Glamorgan" +"state_uk_97","base.uk","V1","South Humberside" +"state_uk_98","base.uk","V3","South Yorkshire" +"state_uk_99","base.uk","V5","Staffordshire" +"state_uk_100","base.uk","V7","Stirlingshire" +"state_uk_101","base.uk","V9","Suffolk" +"state_uk_102","base.uk","W1","Surrey" +"state_uk_103","base.uk","W3","Sutherland" +"state_uk_104","base.uk","W5","Tyne and Wear" +"state_uk_105","base.uk","W7","Warwickshire" +"state_uk_106","base.uk","W9","West Glamorgan" +"state_uk_107","base.uk","X1","West Lothian" +"state_uk_108","base.uk","X3","West Midlands" +"state_uk_109","base.uk","X5","West Sussex" +"state_uk_110","base.uk","X7","West Yorkshire" +"state_uk_111","base.uk","X9","Wigtownshire" +"state_uk_112","base.uk","Y1","Wiltshire" +"state_uk_113","base.uk","Y3","Worcestershire" +"state_uk_114","base.uk","M5","Orkney" +"state_uk_115","base.uk","O1","Isles of Scilly" +"state_uk_116","base.uk","P3","Lanarkshire" +"state_uk_117","base.uk","Q1","London" +"state_uk_118","base.uk","Q7","Midlothian" +"state_uk_119","base.uk","R5","Norfolk" diff --git a/addons/l10n_uk/demo/demo.xml b/addons/l10n_uk/demo/demo.xml new file mode 100644 index 00000000000..b23cd76ec6d --- /dev/null +++ b/addons/l10n_uk/demo/demo.xml @@ -0,0 +1,24 @@ + + + + UK OpenERP Partner + smartmode + http://www.smartmode.co.uk + SmartMode LTD + + + + 08455274653 + Vadim Chobanu + HA4 7JW + Ruislip + + + vadim@smartmode.co.uk + +44 (0) 8456434548 + 12, Hill Lane + 1 + default + + + diff --git a/addons/l10n_uk/l10n_uk_chart.xml b/addons/l10n_uk/l10n_uk_chart.xml deleted file mode 100644 index d82f9d40fde..00000000000 --- a/addons/l10n_uk/l10n_uk_chart.xml +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - 0 - Account Chart UK - - view - - - - - - 1 - Balance Sheet - - view - - - - - Liabilities - 11 - view - - - - - - - 110 - Current Liabilities - - view - - - - - 1111 - Creditors - - payable - - - - - - 1112 - Input VAT - - other - - - - - 1113 - Reserve and Profit/Loss Account - - other - - - - - Assets - 10 - view - - - - - - - 100 - Fixed Assets - - view - - - - - 1000 - Fixed Asset Account - - other - - - - - 101 - Net Current Assets - - view - - - - - 1100 - Current Assets - - view - - - - - 11001 - Purchased Stocks - - other - - - - - 11002 - Debtors - - receivable - - - - - - 11003 - Output VAT - - other - - - - - 11004 - Bank Current Account - - view - - - - - 11005 - Cash - - liquidity - - - - - - - 2 - Profit and Loss - - view - - - - - Income - 20 - view - - - - - - - Foreign Exchange Gain - X201 - other - - - - - - - 200 - Revenue - - view - - - - - 2001 - Product Sales - - other - - - - - Expense - 21 - view - - - - - - - 210 - Cost of Sales - - view - - - - - 2100 - Cost of Goods Sold - - other - - - - - 211 - Overheads - - view - - - - - 2110 - Expenses - - other - - - - - Foreign Exchange Loss - 2111 - other - - - - - - - 2112 - Salary Expenses - - other - - - - diff --git a/addons/l10n_uk/l10n_uk_tax.xml b/addons/l10n_uk/l10n_uk_tax.xml deleted file mode 100644 index 4d2206cdbc7..00000000000 --- a/addons/l10n_uk/l10n_uk_tax.xml +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - - - - - - - Plan Fees UK - - - - VAT Balance to Pay - - - - - Input VAT - - - - - - Input VAT Rate S (15%) - - - - - Input VAT Rate R (5%) - - - - - - - Output VAT - - - - - Output VAT Rate S (15%) - - - - - Output VAT Rate R (5%) - - - - - - - - - Tax Bases - - - - - Taxable Purchases Base - - - - - Taxable Purchases Rated S (15%) - - - - - Taxable Purchases Rated R (5%) - - - - - Taxable Purchases Rated Z (0%) - - - - - Taxable Purchases Type X (Exempt) - - - - - Taxable Purchases Type O (Out of scope) - - - - - - - Base of Taxable Sales - - - - - Taxable Sales Rated S (15%) - - - - - Taxable Sales Rated R (5%) - - - - - Taxable Sales Rated Z (0%) - - - - - Taxable Sales Type X (Exempt) - - - - - Taxable Sales Type O (Out of scope) - - - - - - - UK Minimal Account Chart Template - - - - - - - - - - - - - - - - IVAT S - - percent - - - - - - - purchase - - - - - IVAT R - - percent - - - - - - - purchase - - - - - IVAT Z - - percent - - - purchase - - - - - IVAT X - - percent - - - purchase - - - - - IVAT O - - percent - - - purchase - - - - - - - OVAT S - - percent - - - - - - - sale - - - - - OVAT R - - percent - - - - - - - sale - - - - - OVAT Z - - percent - - - sale - - - - - OVAT X - - percent - - - sale - - - - - OVAT O - - percent - - - sale - - - - diff --git a/addons/l10n_uk/l10n_uk_types.xml b/addons/l10n_uk/l10n_uk_types.xml deleted file mode 100644 index d9bfb5344ad..00000000000 --- a/addons/l10n_uk/l10n_uk_types.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - Receivable - receivable - income - unreconciled - - - - Payable - payable - expense - unreconciled - - - - View - view - none - - - - Income View - view - income - - - - Expense View - expense - expense - - - - Asset View - asset - asset - - - - Liability View - liability - liability - - - - Income - income - none - income - - - - Expense - expense - none - expense - - - - Tax - tax - liability - unreconciled - - - - Cash - cash - asset - balance - - - - Liability - liability - balance - liability - - - - Asset - asset - balance - asset - - - - Equity - equity - asset - balance - - - - diff --git a/addons/l10n_uk/l10n_uk_wizard.xml b/addons/l10n_uk/l10n_uk_wizard.xml index 42b23bbf054..b7da2ee5c6b 100644 --- a/addons/l10n_uk/l10n_uk_wizard.xml +++ b/addons/l10n_uk/l10n_uk_wizard.xml @@ -1,14 +1,42 @@ - - - - - Generate Chart of Accounts from a Chart Template - Generate Chart of Accounts from a Chart Template. You will be asked to pass the name of the company, the chart template to follow, the no. of digits to generate the code for your accounts and Bank account, currency to create Journals. Thus,the pure copy of chart Template is generated. - This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. - - automatic - - - - - + + + + + + Generate Chart of Accounts from a Chart Template + wizard.multi.charts.accounts + form + + + + + + Generate Your UK Accounting Chart from a Chart Template + + + + SELECT 4 DIGIT ACCOUNTS. This is the same wizard that runs from Financial Management/Configuration/Financial Accounting/ Financial Accounts/Generate Chart of Accounts from a Chart Template. + + + + + + + Generate UK Chart of Accounts from a Chart Template + ir.actions.act_window + wizard.multi.charts.accounts + + form + form + new + + + + + 10 + onskip + open + + + +