Merge lp:~francois-ctrlaltdel/openerp-swiss-localization/openerp-swiss-localization into lp:~camptocamp/openerp-swiss-localization/7.0

Proposed by Francois Deppierraz
Status: Rejected
Rejected by: Nicolas Bessi - Camptocamp
Proposed branch: lp:~francois-ctrlaltdel/openerp-swiss-localization/openerp-swiss-localization
Merge into: lp:~camptocamp/openerp-swiss-localization/7.0
Diff against target: 56 lines (+4/-4)
4 files modified
l10n_ch_base_bank/bank.py (+1/-1)
l10n_ch_dta/wizard/create_dta.py (+1/-1)
l10n_ch_scan_bvr/wizard/scan_bvr.py (+1/-1)
l10n_ch_sepa/base_sepa/pain_001.py (+1/-1)
To merge this branch: bzr merge lp:~francois-ctrlaltdel/openerp-swiss-localization/openerp-swiss-localization
Reviewer Review Type Date Requested Status
Yannick Vaucher @ Camptocamp code review, no tests Approve
Review via email: mp+223055@code.launchpad.net
To post a comment you must log in.
204. By Francois Deppierraz

Fix openerp.pooler import

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Thanks for the fix

Looks good!

review: Approve (code review, no tests)
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Rejected as it as moved to Github: https://github.com/OCA/switzerland/pull/7

Unmerged revisions

204. By Francois Deppierraz

Fix openerp.pooler import

203. By Francois Deppierraz

Fix mod10r import

 This should fix the following issue in odoo 8. Backward compatibility has *not* been tested.

[...]
  File "/home/ubuntu/openerp-swiss-localization/l10n_ch_base_bank/bank.py", line 24, in <module>
    from tools import mod10r
ImportError: No module named tools

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_ch_base_bank/bank.py'
2--- l10n_ch_base_bank/bank.py 2014-02-07 15:09:42 +0000
3+++ l10n_ch_base_bank/bank.py 2014-06-13 11:47:52 +0000
4@@ -21,7 +21,7 @@
5 ##############################################################################
6 import re
7 from openerp.osv import orm, fields
8-from tools import mod10r
9+from openerp.tools import mod10r
10
11
12 class BankCommon(object):
13
14=== modified file 'l10n_ch_dta/wizard/create_dta.py'
15--- l10n_ch_dta/wizard/create_dta.py 2014-04-14 12:39:06 +0000
16+++ l10n_ch_dta/wizard/create_dta.py 2014-06-13 11:47:52 +0000
17@@ -28,7 +28,7 @@
18 from openerp.osv.osv import except_osv
19 from openerp.osv.orm import TransientModel
20 from openerp.tools.translate import _
21-from tools import mod10r
22+from openerp.tools import mod10r
23
24 TRANS = [(u'é', 'e'),
25 (u'è', 'e'),
26
27=== modified file 'l10n_ch_scan_bvr/wizard/scan_bvr.py'
28--- l10n_ch_scan_bvr/wizard/scan_bvr.py 2014-01-31 13:23:36 +0000
29+++ l10n_ch_scan_bvr/wizard/scan_bvr.py 2014-06-13 11:47:52 +0000
30@@ -19,12 +19,12 @@
31 #
32 ##############################################################################
33
34-import pooler
35 import time
36
37 from openerp.osv import orm
38 from openerp.osv.orm import TransientModel, fields
39 from openerp.tools.translate import _
40+from openerp import pooler
41
42
43 class scan_bvr(TransientModel):
44
45=== modified file 'l10n_ch_sepa/base_sepa/pain_001.py'
46--- l10n_ch_sepa/base_sepa/pain_001.py 2014-04-24 11:07:08 +0000
47+++ l10n_ch_sepa/base_sepa/pain_001.py 2014-06-13 11:47:52 +0000
48@@ -25,7 +25,7 @@
49 from mako import exceptions
50 from mako.lookup import TemplateLookup
51
52-import pooler
53+from openerp import pooler
54 from openerp import addons
55 from openerp.osv import orm
56 from openerp.tools.translate import _

Subscribers

People subscribed via source and target branches