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
1=== added directory 'l10n_fr_account_fiscal_position_rule'
2=== added file 'l10n_fr_account_fiscal_position_rule/__init__.py'
3--- l10n_fr_account_fiscal_position_rule/__init__.py 1970-01-01 00:00:00 +0000
4+++ l10n_fr_account_fiscal_position_rule/__init__.py 2014-06-04 23:14:52 +0000
5@@ -0,0 +1,21 @@
6+# -*- encoding: utf-8 -*-
7+###############################################################################
8+#
9+# l10n_fr_account_fiscal_position_rule for OpenERP
10+# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>. All Rights Reserved
11+# @author Sébastien BEAU <sebastien.beau@akretion.com>
12+# This program is free software: you can redistribute it and/or modify
13+# it under the terms of the GNU Affero General Public License as
14+# published by the Free Software Foundation, either version 3 of the
15+# License, or (at your option) any later version.
16+#
17+# This program is distributed in the hope that it will be useful,
18+# but WITHOUT ANY WARRANTY; without even the implied warranty of
19+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+# GNU Affero General Public License for more details.
21+#
22+# You should have received a copy of the GNU Affero General Public License
23+# along with this program. If not, see <http://www.gnu.org/licenses/>.
24+#
25+###############################################################################
26+
27
28=== added file 'l10n_fr_account_fiscal_position_rule/__openerp__.py'
29--- l10n_fr_account_fiscal_position_rule/__openerp__.py 1970-01-01 00:00:00 +0000
30+++ l10n_fr_account_fiscal_position_rule/__openerp__.py 2014-06-04 23:14:52 +0000
31@@ -0,0 +1,40 @@
32+# -*- encoding: utf-8 -*-
33+###############################################################################
34+#
35+# l10n_fr_account_fiscal_position_rule for OpenERP
36+# Copyright (C) 2012-TODAY Akretion <http://www.akretion.com>.
37+# @author Sébastien BEAU <sebastien.beau@akretion.com>
38+# This program is free software: you can redistribute it and/or modify
39+# it under the terms of the GNU Affero General Public License as
40+# published by the Free Software Foundation, either version 3 of the
41+# License, or (at your option) any later version.
42+#
43+# This program is distributed in the hope that it will be useful,
44+# but WITHOUT ANY WARRANTY; without even the implied warranty of
45+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46+# GNU Affero General Public License for more details.
47+#
48+# You should have received a copy of the GNU Affero General Public License
49+# along with this program. If not, see <http://www.gnu.org/licenses/>.
50+#
51+###############################################################################
52+
53+
54+{'name': 'l10n_fr_account_fiscal_position_rule',
55+ 'version': '0.0.1',
56+ 'author': 'Akretion',
57+ 'website': 'www.akretion.com',
58+ 'license': 'AGPL-3',
59+ 'category': 'French Localization',
60+ 'description': """French Fiscal rule to set automatically the
61+ fiscal position depending on the partner address
62+ """,
63+ 'depends': [
64+ 'account_fiscal_position_rule',
65+ ],
66+ 'data': [
67+ 'settings/account.fiscal.position.rule.template.csv',
68+ ],
69+ 'installable': True,
70+ 'application': True,
71+}
72
73=== added directory 'l10n_fr_account_fiscal_position_rule/settings'
74=== added file 'l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv'
75--- l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv 1970-01-01 00:00:00 +0000
76+++ l10n_fr_account_fiscal_position_rule/settings/account.fiscal.position.rule.template.csv 2014-06-04 23:14:52 +0000
77@@ -0,0 +1,58 @@
78+id,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
79+rule_normal_fr,,base.fr,base.fr,,,France,10,True,True,True,False,both
80+rule_normal_mc,,base.fr,base.mc,,,Monaco,10,True,True,True,False,both
81+rule_partner_euro_b2c_at,,base.fr,base.at,,,Particulier Autriche,20,True,True,True,False,without
82+rule_partner_euro_b2c_be,,base.fr,base.be,,,Particulier Belgique,20,True,True,True,False,without
83+rule_partner_euro_b2c_bg,,base.fr,base.bg,,,Particulier Bulgarie,20,True,True,True,False,without
84+rule_partner_euro_b2c_cy,,base.fr,base.cy,,,Particulier Chypre,20,True,True,True,False,without
85+rule_partner_euro_b2c_cz,,base.fr,base.cz,,,Particulier République tchèque,20,True,True,True,False,without
86+rule_partner_euro_b2c_de,,base.fr,base.de,,,Particulier Allemagne,20,True,True,True,False,without
87+rule_partner_euro_b2c_dk,,base.fr,base.dk,,,Particulier Danemark,20,True,True,True,False,without
88+rule_partner_euro_b2c_ee,,base.fr,base.ee,,,Particulier Estonie,20,True,True,True,False,without
89+rule_partner_euro_b2c_es,,base.fr,base.es,,,Particulier Espagne,20,True,True,True,False,without
90+rule_partner_euro_b2c_fi,,base.fr,base.fi,,,Particulier Finlande,20,True,True,True,False,without
91+rule_partner_euro_b2c_gr,,base.fr,base.gr,,,Particulier Grèce,20,True,True,True,False,without
92+rule_partner_euro_b2c_hu,,base.fr,base.hu,,,Particulier Hongrie,20,True,True,True,False,without
93+rule_partner_euro_b2c_ie,,base.fr,base.ie,,,Particulier Irlande,20,True,True,True,False,without
94+rule_partner_euro_b2c_it,,base.fr,base.it,,,Particulier Italie,20,True,True,True,False,without
95+rule_partner_euro_b2c_lt,,base.fr,base.lt,,,Particulier Lituanie,20,True,True,True,False,without
96+rule_partner_euro_b2c_lu,,base.fr,base.lu,,,Particulier Luxembourg,20,True,True,True,False,without
97+rule_partner_euro_b2c_lv,,base.fr,base.lv,,,Particulier Lettonie,20,True,True,True,False,without
98+rule_partner_euro_b2c_mt,,base.fr,base.mt,,,Particulier Malte,20,True,True,True,False,without
99+rule_partner_euro_b2c_nl,,base.fr,base.nl,,,Particulier Pays-Bas,20,True,True,True,False,without
100+rule_partner_euro_b2c_pl,,base.fr,base.pl,,,Particulier Pologne,20,True,True,True,False,without
101+rule_partner_euro_b2c_pt,,base.fr,base.pt,,,Particulier Portugal,20,True,True,True,False,without
102+rule_partner_euro_b2c_ro,,base.fr,base.ro,,,Particulier Roumanie,20,True,True,True,False,without
103+rule_partner_euro_b2c_se,,base.fr,base.se,,,Particulier Suède,20,True,True,True,False,without
104+rule_partner_euro_b2c_si,,base.fr,base.si,,,Particulier Slovénie,20,True,True,True,False,without
105+rule_partner_euro_b2c_sk,,base.fr,base.sk,,,Particulier République Slovaque,20,True,True,True,False,without
106+rule_partner_euro_b2c_uk,,base.fr,base.uk,,,Particulier Royaume-Uni,20,True,True,True,False,without
107+rule_partner_euro_b2c_hr,,base.fr,base.hr,,,Particulier Croatie,20,True,True,True,False,without
108+rule_partner_euro_b2b_at,,base.fr,base.at,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Autriche,30,True,True,True,False,with
109+rule_partner_euro_b2b_be,,base.fr,base.be,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Belgique,30,True,True,True,False,with
110+rule_partner_euro_b2b_bg,,base.fr,base.bg,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Bulgarie,30,True,True,True,False,with
111+rule_partner_euro_b2b_cy,,base.fr,base.cy,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Chypre,30,True,True,True,False,with
112+rule_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
113+rule_partner_euro_b2b_de,,base.fr,base.de,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Allemagne,30,True,True,True,False,with
114+rule_partner_euro_b2b_dk,,base.fr,base.dk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Danemark,30,True,True,True,False,with
115+rule_partner_euro_b2b_ee,,base.fr,base.ee,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Estonie,30,True,True,True,False,with
116+rule_partner_euro_b2b_es,,base.fr,base.es,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Espagne,30,True,True,True,False,with
117+rule_partner_euro_b2b_fi,,base.fr,base.fi,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Finlande,30,True,True,True,False,with
118+rule_partner_euro_b2b_gr,,base.fr,base.gr,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Grèce,30,True,True,True,False,with
119+rule_partner_euro_b2b_hu,,base.fr,base.hu,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Hongrie,30,True,True,True,False,with
120+rule_partner_euro_b2b_ie,,base.fr,base.ie,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Irlande,30,True,True,True,False,with
121+rule_partner_euro_b2b_it,,base.fr,base.it,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Italie,30,True,True,True,False,with
122+rule_partner_euro_b2b_lt,,base.fr,base.lt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Lituanie,30,True,True,True,False,with
123+rule_partner_euro_b2b_lu,,base.fr,base.lu,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Luxembourg,30,True,True,True,False,with
124+rule_partner_euro_b2b_lv,,base.fr,base.lv,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Lettonie,30,True,True,True,False,with
125+rule_partner_euro_b2b_mt,,base.fr,base.mt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Malte,30,True,True,True,False,with
126+rule_partner_euro_b2b_nl,,base.fr,base.nl,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Pays-Bas,30,True,True,True,False,with
127+rule_partner_euro_b2b_pl,,base.fr,base.pl,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Pologne,30,True,True,True,False,with
128+rule_partner_euro_b2b_pt,,base.fr,base.pt,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Portugal,30,True,True,True,False,with
129+rule_partner_euro_b2b_ro,,base.fr,base.ro,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Roumanie,30,True,True,True,False,with
130+rule_partner_euro_b2b_se,,base.fr,base.se,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Suède,30,True,True,True,False,with
131+rule_partner_euro_b2b_si,,base.fr,base.si,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Slovénie,30,True,True,True,False,with
132+rule_partner_euro_b2b_sk,,base.fr,base.sk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel République Slovaque,30,True,True,True,False,with
133+rule_partner_euro_b2b_uk,,base.fr,base.uk,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Royaume-Uni,30,True,True,True,False,with
134+rule_partner_euro_b2b_hr,,base.fr,base.hr,,l10n_fr.fiscal_position_template_intraeub2b,Professionnel Croatie,30,True,True,True,False,with
135+rule_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