From 97fe54cf156d0ffe68f8e258b3c2272c3acd78a3 Mon Sep 17 00:00:00 2001 From: ced <> Date: Fri, 8 Dec 2006 15:56:12 +0000 Subject: [PATCH] Merge with trunk_old bzr revid: ced-4cf5f906c3625e477ad24a47b8defeab9bd5938f --- addons/l10n_ch_bvr/__init__.py | 29 +++ addons/l10n_ch_bvr/__terp__.py | 12 ++ addons/l10n_ch_bvr/account_demo.xml | 6 + addons/l10n_ch_bvr/account_vat.xml | 179 ++++++++++++++++++ addons/l10n_ch_bvr/bvr/__init__.py | 29 +++ addons/l10n_ch_bvr/bvr/bvr.py | 0 addons/l10n_ch_bvr/bvr/bvr.rml | 0 addons/l10n_ch_bvr/bvr/bvr_report.xml | 16 ++ .../report_analytic_line.py | 2 +- addons/sandwich/sandwich_demo.xml | 1 - addons/sandwich/sandwich_view.xml | 6 +- addons/travel/__terp__.py | 2 +- 12 files changed, 276 insertions(+), 6 deletions(-) create mode 100644 addons/l10n_ch_bvr/__init__.py create mode 100644 addons/l10n_ch_bvr/__terp__.py create mode 100644 addons/l10n_ch_bvr/account_demo.xml create mode 100644 addons/l10n_ch_bvr/account_vat.xml create mode 100644 addons/l10n_ch_bvr/bvr/__init__.py create mode 100644 addons/l10n_ch_bvr/bvr/bvr.py create mode 100644 addons/l10n_ch_bvr/bvr/bvr.rml create mode 100644 addons/l10n_ch_bvr/bvr/bvr_report.xml diff --git a/addons/l10n_ch_bvr/__init__.py b/addons/l10n_ch_bvr/__init__.py new file mode 100644 index 00000000000..450bd78cdfc --- /dev/null +++ b/addons/l10n_ch_bvr/__init__.py @@ -0,0 +1,29 @@ +############################################################################## +# +# Copyright (c) 2004 TINY SPRL. (http://tiny.be) All Rights Reserved. +# Fabien Pinckaers +# +# 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 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. +# +############################################################################## + +import bvr diff --git a/addons/l10n_ch_bvr/__terp__.py b/addons/l10n_ch_bvr/__terp__.py new file mode 100644 index 00000000000..ea7c64ddd2f --- /dev/null +++ b/addons/l10n_ch_bvr/__terp__.py @@ -0,0 +1,12 @@ +{ + "name" : "Localisation for Switzerland - BVR and DTA Support", + "version" : "1.0", + "author" : "Tiny", + "category" : "Localisation/Europe", + "depends" : ["l10n_ch"], + "init_xml" : [], + "update_xml" : ["bvr/bvr_report.xml"], + "demo_xml" : [], + "active": True, + "installable": True +} diff --git a/addons/l10n_ch_bvr/account_demo.xml b/addons/l10n_ch_bvr/account_demo.xml new file mode 100644 index 00000000000..98793851804 --- /dev/null +++ b/addons/l10n_ch_bvr/account_demo.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/addons/l10n_ch_bvr/account_vat.xml b/addons/l10n_ch_bvr/account_vat.xml new file mode 100644 index 00000000000..076bcc9ddb7 --- /dev/null +++ b/addons/l10n_ch_bvr/account_vat.xml @@ -0,0 +1,179 @@ + + + + +# +# Tax Code Definitions +# + + + TVA Net + + + + + Solde de TVA a payer a l'AFC + 150 + + + + + TVA Due (TVA a payer) + 100 + + + + Impot préalable (TVA a récupérer) + 110 + + + + Impot préalable sur investissements (TVA a récupérer) + 111 + + + + + Base de calcul de TVA + + + + + + + Chiffre d'affaires imposable + 080 + + + + Chiffre d'affaires imposable a 7.6% + 070 + + + + Chiffre d'affaires imposable a 2.4% + 071 + + + + Chiffre d'affaires imposable a 3.6% + 074 + + + + + Acquisition de biens et services + + + + + Acquisition de biens et services + 110 + + + + Acquisition de biens d'investissements + 111 + + + + + + + + + # + # TVA - Taxe sur la Valeur Ajoutée + # + + + TVA 2.4% + + percent + + + + + + + + + + TVA 3.6% + + percent + + + + + + + + + + TVA 7.6% + + percent + + + + + + + + + + + + TVA 2.4% sur investissements + + percent + + + + + + + + + + TVA 3.6% sur investissements + + percent + + + + + + + + + + TVA 7.6% sur investissements + + percent + + + + + + + + + + + TVA 0% Exportations + + percent + + + + + + + + + + + + diff --git a/addons/l10n_ch_bvr/bvr/__init__.py b/addons/l10n_ch_bvr/bvr/__init__.py new file mode 100644 index 00000000000..450bd78cdfc --- /dev/null +++ b/addons/l10n_ch_bvr/bvr/__init__.py @@ -0,0 +1,29 @@ +############################################################################## +# +# Copyright (c) 2004 TINY SPRL. (http://tiny.be) All Rights Reserved. +# Fabien Pinckaers +# +# 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 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. +# +############################################################################## + +import bvr diff --git a/addons/l10n_ch_bvr/bvr/bvr.py b/addons/l10n_ch_bvr/bvr/bvr.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/addons/l10n_ch_bvr/bvr/bvr.rml b/addons/l10n_ch_bvr/bvr/bvr.rml new file mode 100644 index 00000000000..e69de29bb2d diff --git a/addons/l10n_ch_bvr/bvr/bvr_report.xml b/addons/l10n_ch_bvr/bvr/bvr_report.xml new file mode 100644 index 00000000000..6061670f3fd --- /dev/null +++ b/addons/l10n_ch_bvr/bvr/bvr_report.xml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/addons/report_analytic_line/report_analytic_line.py b/addons/report_analytic_line/report_analytic_line.py index dd6c1afbba8..d8e788fdf8f 100644 --- a/addons/report_analytic_line/report_analytic_line.py +++ b/addons/report_analytic_line/report_analytic_line.py @@ -60,5 +60,5 @@ class report_account_analytic_line_to_invoice(osv.osv): GROUP BY SUBSTRING(date for 7), product_id, product_uom_id, account_id ) """) -report_account_analytic_line_to_invoice() +#report_account_analytic_line_to_invoice() diff --git a/addons/sandwich/sandwich_demo.xml b/addons/sandwich/sandwich_demo.xml index 7c7a60de15e..adc6a4e6c6f 100644 --- a/addons/sandwich/sandwich_demo.xml +++ b/addons/sandwich/sandwich_demo.xml @@ -14,7 +14,6 @@ so sweeeeeet, but so bad for your teeth... - club 2.00 diff --git a/addons/sandwich/sandwich_view.xml b/addons/sandwich/sandwich_view.xml index cb2e2146536..5380cc6b770 100644 --- a/addons/sandwich/sandwich_view.xml +++ b/addons/sandwich/sandwich_view.xml @@ -158,16 +158,16 @@
- + - + - +
diff --git a/addons/travel/__terp__.py b/addons/travel/__terp__.py index e1d22057644..4cf70f3788e 100644 --- a/addons/travel/__terp__.py +++ b/addons/travel/__terp__.py @@ -7,5 +7,5 @@ "update_xml" : ["custom_view.xml", "custom_report.xml"], "category" : "Enterprise Specific Modules/Travel Agencies", "active": False, - "installable": False + "installable": True }