From c48e2abaff474430eb23af259024ab76b95c5895 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 10 Nov 2010 18:23:05 -0500 Subject: [PATCH] [IMP] Chart of taxes and decimal precision bzr revid: maxime.chambreuil@savoirfairelinux.com-20101110232305-0p4c5ay5kmyyux09 --- addons/l10n_ca/__init__.py | 8 ++-- addons/l10n_ca/__openerp__.py | 1 + addons/l10n_ca/account_tax_fr.xml | 65 ++++++++++++++++---------- addons/l10n_ca/decimal_precision.xml | 10 ++++ addons/l10n_ca/fiscal_templates_fr.xml | 63 ++++++++++++++++++------- 5 files changed, 100 insertions(+), 47 deletions(-) create mode 100644 addons/l10n_ca/decimal_precision.xml diff --git a/addons/l10n_ca/__init__.py b/addons/l10n_ca/__init__.py index 24ab202267f..2a86c685c01 100755 --- a/addons/l10n_ca/__init__.py +++ b/addons/l10n_ca/__init__.py @@ -2,19 +2,19 @@ ############################################################################## # # OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2010 Savoir-faire Linux (). # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as +# it under the terms of the GNU General Public License as # published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. +# GNU General Public License for more details. # -# You should have received a copy of the GNU Affero General Public License +# You should have received a copy of the GNU General Public License # along with this program. If not, see . # ############################################################################## diff --git a/addons/l10n_ca/__openerp__.py b/addons/l10n_ca/__openerp__.py index 9526eaba373..10a4ffc87ac 100755 --- a/addons/l10n_ca/__openerp__.py +++ b/addons/l10n_ca/__openerp__.py @@ -28,6 +28,7 @@ "depends" : ['base', 'account', 'base_iban', 'base_vat', 'account_chart'], "init_xml" : [], "update_xml" : [ + 'decimal_precision.xml', 'account_types_en.xml', 'account_chart_en.xml', 'account_tax_code_en.xml', diff --git a/addons/l10n_ca/account_tax_fr.xml b/addons/l10n_ca/account_tax_fr.xml index fbdb756a992..1d30b5ef65a 100644 --- a/addons/l10n_ca/account_tax_fr.xml +++ b/addons/l10n_ca/account_tax_fr.xml @@ -2,18 +2,25 @@ - - - Pas de taxes - Pas de taxes - 0.00 - percent - + + + TPS (5%) + TPSTVQ + 0.050000 + percent + TRUE + + + + + + + TVQ (7.5%) - TVQ + TVQ 0.075000 percent @@ -22,27 +29,13 @@ - - - - - TPS (5.0%) - TPS - 0.050000 - percent - - - - - - - + TVH (13%) - TVH + TVH 0.130000 percent @@ -53,5 +46,27 @@ - + + + TPS (5%) + TPS + 0.050000 + percent + + + + + + + + + + + Pas de taxes + Pas de taxes + 0.00 + percent + + + diff --git a/addons/l10n_ca/decimal_precision.xml b/addons/l10n_ca/decimal_precision.xml new file mode 100644 index 00000000000..d7564fa5852 --- /dev/null +++ b/addons/l10n_ca/decimal_precision.xml @@ -0,0 +1,10 @@ + + + + + + 3 + + + + diff --git a/addons/l10n_ca/fiscal_templates_fr.xml b/addons/l10n_ca/fiscal_templates_fr.xml index b55572aaf80..f250d6cb3b3 100644 --- a/addons/l10n_ca/fiscal_templates_fr.xml +++ b/addons/l10n_ca/fiscal_templates_fr.xml @@ -1,26 +1,26 @@ - + - Régime Provincial + Provincial Regime - Régime Provinces Harmonisées + Harmonized Provinces Regime - Régime Provinces Non-Harmonisées + Non-Harmonized Provinces Regime - Régime International + International Regime @@ -29,51 +29,78 @@ - - + + - - + + + - - + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - +