Merge lp:~sebastien.beau/openerp-french-localization/openerp-french-localization-fiscal-rule into lp:openerp-french-localization/7.0

Proposed by Sébastien BEAU - http://www.akretion.com
Status: Merged
Merged at revision: 5
Proposed branch: lp:~sebastien.beau/openerp-french-localization/openerp-french-localization-fiscal-rule
Merge into: lp:openerp-french-localization/7.0
Diff against target: 135 lines (+119/-0)
3 files modified
l10n_fr_account_fiscal_position_rule/__init__.py (+21/-0)
l10n_fr_account_fiscal_position_rule/__openerp__.py (+40/-0)
l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv (+58/-0)
To merge this branch: bzr merge lp:~sebastien.beau/openerp-french-localization/openerp-french-localization-fiscal-rule
Reviewer Review Type Date Requested Status
arthru Approve
Alexis de Lattre code review Approve
Review via email: mp+217151@code.launchpad.net

Description of the change

Fiscal rule for setting automatically the fiscal position, you will need to install this module https://code.launchpad.net/openerp-fiscal-rules
Enjoy it !

To post a comment you must log in.
7. By Sébastien BEAU - http://www.akretion.com

[CLEAN] update __openerp__.py to V7 style

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

@Seb :

1) Version should be on 2 digits, no ?

2) Description : French Fiscal rule to set automatically the
fiscal position depending on the partner address.

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

@Seb :

Following our discussion, forget the version.

account.fiscal.position.rule.template.csv :

3) Particulier Malte MT => Particulier Malte

4) You forgot Croatia, no ???

Revision history for this message
Alexis de Lattre (alexis-via) :
review: Needs Fixing (code review)
8. By Sébastien BEAU - http://www.akretion.com

[FIX] fix missing Croatia and fix description for Malte

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

ok now :)

review: Approve (code review)
Revision history for this message
arthru (arthru) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'l10n_fr_account_fiscal_position_rule'
=== added file 'l10n_fr_account_fiscal_position_rule/__init__.py'
--- l10n_fr_account_fiscal_position_rule/__init__.py 1970-01-01 00:00:00 +0000
+++ l10n_fr_account_fiscal_position_rule/__init__.py 2014-06-04 23:14:52 +0000
@@ -0,0 +1,21 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# l10n_fr_account_fiscal_position_rule for OpenERP
5# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>. All Rights Reserved
6# @author Sébastien BEAU <sebastien.beau@akretion.com>
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
022
=== added file 'l10n_fr_account_fiscal_position_rule/__openerp__.py'
--- l10n_fr_account_fiscal_position_rule/__openerp__.py 1970-01-01 00:00:00 +0000
+++ l10n_fr_account_fiscal_position_rule/__openerp__.py 2014-06-04 23:14:52 +0000
@@ -0,0 +1,40 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# l10n_fr_account_fiscal_position_rule for OpenERP
5# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>.
6# @author Sébastien BEAU <sebastien.beau@akretion.com>
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22
23{'name': 'l10n_fr_account_fiscal_position_rule',
24 'version': '0.0.1',
25 'author': 'Akretion',
26 'website': 'www.akretion.com',
27 'license': 'AGPL-3',
28 'category': 'French Localization',
29 'description': """French Fiscal rule to set automatically the
30 fiscal position depending on the partner address
31 """,
32 'depends': [
33 'account_fiscal_position_rule',
34 ],
35 'data': [
36 'settings/account.fiscal.position.rule.template.csv',
37 ],
38 'installable': True,
39 'application': True,
40}
041
=== added directory 'l10n_fr_account_fiscal_position_rule/settings'
=== added file 'l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv'
--- l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv 1970-01-01 00:00:00 +0000
+++ l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv 2014-06-04 23:14:52 +0000
@@ -0,0 +1,58 @@
1id,description,from_country/id,to_shipping_country/id,to_invoice_country/id,fiscal_position_id/id,name,sequence,use_sale,use_invoice,use_picking,use_purchase,vat_rule
2rule_normal_fr,,base.fr,base.fr,,,France,10,True,True,True,False,both
3rule_normal_mc,,base.fr,base.mc,,,Monaco,10,True,True,True,False,both
4rule_partner_euro_b2c_at,,base.fr,base.at,,,Particulier Autriche,20,True,True,True,False,without
5rule_partner_euro_b2c_be,,base.fr,base.be,,,Particulier Belgique,20,True,True,True,False,without
6rule_partner_euro_b2c_bg,,base.fr,base.bg,,,Particulier Bulgarie,20,True,True,True,False,without
7rule_partner_euro_b2c_cy,,base.fr,base.cy,,,Particulier Chypre,20,True,True,True,False,without
8rule_partner_euro_b2c_cz,,base.fr,base.cz,,,Particulier République tchèque,20,True,True,True,False,without
9rule_partner_euro_b2c_de,,base.fr,base.de,,,Particulier Allemagne,20,True,True,True,False,without
10rule_partner_euro_b2c_dk,,base.fr,base.dk,,,Particulier Danemark,20,True,True,True,False,without
11rule_partner_euro_b2c_ee,,base.fr,base.ee,,,Particulier Estonie,20,True,True,True,False,without
12rule_partner_euro_b2c_es,,base.fr,base.es,,,Particulier Espagne,20,True,True,True,False,without
13rule_partner_euro_b2c_fi,,base.fr,base.fi,,,Particulier Finlande,20,True,True,True,False,without
14rule_partner_euro_b2c_gr,,base.fr,base.gr,,,Particulier Grèce,20,True,True,True,False,without
15rule_partner_euro_b2c_hu,,base.fr,base.hu,,,Particulier Hongrie,20,True,True,True,False,without
16rule_partner_euro_b2c_ie,,base.fr,base.ie,,,Particulier Irlande,20,True,True,True,False,without
17rule_partner_euro_b2c_it,,base.fr,base.it,,,Particulier Italie,20,True,True,True,False,without
18rule_partner_euro_b2c_lt,,base.fr,base.lt,,,Particulier Lituanie,20,True,True,True,False,without
19rule_partner_euro_b2c_lu,,base.fr,base.lu,,,Particulier Luxembourg,20,True,True,True,False,without
20rule_partner_euro_b2c_lv,,base.fr,base.lv,,,Particulier Lettonie,20,True,True,True,False,without
21rule_partner_euro_b2c_mt,,base.fr,base.mt,,,Particulier Malte,20,True,True,True,False,without
22rule_partner_euro_b2c_nl,,base.fr,base.nl,,,Particulier Pays-Bas,20,True,True,True,False,without
23rule_partner_euro_b2c_pl,,base.fr,base.pl,,,Particulier Pologne,20,True,True,True,False,without
24rule_partner_euro_b2c_pt,,base.fr,base.pt,,,Particulier Portugal,20,True,True,True,False,without
25rule_partner_euro_b2c_ro,,base.fr,base.ro,,,Particulier Roumanie,20,True,True,True,False,without
26rule_partner_euro_b2c_se,,base.fr,base.se,,,Particulier Suède,20,True,True,True,False,without
27rule_partner_euro_b2c_si,,base.fr,base.si,,,Particulier Slovénie,20,True,True,True,False,without
28rule_partner_euro_b2c_sk,,base.fr,base.sk,,,Particulier République Slovaque,20,True,True,True,False,without
29rule_partner_euro_b2c_uk,,base.fr,base.uk,,,Particulier Royaume-Uni,20,True,True,True,False,without
30rule_partner_euro_b2c_hr,,base.fr,base.hr,,,Particulier Croatie,20,True,True,True,False,without
31rule_partner_euro_b2b_at,,base.fr,base.at,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Autriche,30,True,True,True,False,with
32rule_partner_euro_b2b_be,,base.fr,base.be,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Belgique,30,True,True,True,False,with
33rule_partner_euro_b2b_bg,,base.fr,base.bg,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Bulgarie,30,True,True,True,False,with
34rule_partner_euro_b2b_cy,,base.fr,base.cy,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Chypre,30,True,True,True,False,with
35rule_partner_euro_b2b_cz,,base.fr,base.cz,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel République tchèque,30,True,True,True,False,with
36rule_partner_euro_b2b_de,,base.fr,base.de,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Allemagne,30,True,True,True,False,with
37rule_partner_euro_b2b_dk,,base.fr,base.dk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Danemark,30,True,True,True,False,with
38rule_partner_euro_b2b_ee,,base.fr,base.ee,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Estonie,30,True,True,True,False,with
39rule_partner_euro_b2b_es,,base.fr,base.es,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Espagne,30,True,True,True,False,with
40rule_partner_euro_b2b_fi,,base.fr,base.fi,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Finlande,30,True,True,True,False,with
41rule_partner_euro_b2b_gr,,base.fr,base.gr,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Grèce,30,True,True,True,False,with
42rule_partner_euro_b2b_hu,,base.fr,base.hu,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Hongrie,30,True,True,True,False,with
43rule_partner_euro_b2b_ie,,base.fr,base.ie,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Irlande,30,True,True,True,False,with
44rule_partner_euro_b2b_it,,base.fr,base.it,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Italie,30,True,True,True,False,with
45rule_partner_euro_b2b_lt,,base.fr,base.lt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Lituanie,30,True,True,True,False,with
46rule_partner_euro_b2b_lu,,base.fr,base.lu,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Luxembourg,30,True,True,True,False,with
47rule_partner_euro_b2b_lv,,base.fr,base.lv,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Lettonie,30,True,True,True,False,with
48rule_partner_euro_b2b_mt,,base.fr,base.mt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Malte,30,True,True,True,False,with
49rule_partner_euro_b2b_nl,,base.fr,base.nl,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Pays-Bas,30,True,True,True,False,with
50rule_partner_euro_b2b_pl,,base.fr,base.pl,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Pologne,30,True,True,True,False,with
51rule_partner_euro_b2b_pt,,base.fr,base.pt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Portugal,30,True,True,True,False,with
52rule_partner_euro_b2b_ro,,base.fr,base.ro,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Roumanie,30,True,True,True,False,with
53rule_partner_euro_b2b_se,,base.fr,base.se,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Suède,30,True,True,True,False,with
54rule_partner_euro_b2b_si,,base.fr,base.si,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Slovénie,30,True,True,True,False,with
55rule_partner_euro_b2b_sk,,base.fr,base.sk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel République Slovaque,30,True,True,True,False,with
56rule_partner_euro_b2b_uk,,base.fr,base.uk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Royaume-Uni,30,True,True,True,False,with
57rule_partner_euro_b2b_hr,,base.fr,base.hr,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Croatie,30,True,True,True,False,with
58rule_catch_all,,base.fr,,,l10n_fr.fiscal_position_template_import_export,Monde,40,True,True,True,False,both

Subscribers

People subscribed via source and target branches