Merge lp:~gdgellatly/banking-addons/banking-addons-minor-import-fixes into lp:banking-addons

Proposed by Graeme Gellatly
Status: Merged
Merged at revision: 212
Proposed branch: lp:~gdgellatly/banking-addons/banking-addons-minor-import-fixes
Merge into: lp:banking-addons
Diff against target: 44 lines (+6/-6)
3 files modified
account_banking/parsers/models.py (+1/-1)
account_banking/sepa/online.py (+4/-4)
account_banking/wizard/banking_transaction_wizard.py (+1/-1)
To merge this branch: bzr merge lp:~gdgellatly/banking-addons/banking-addons-minor-import-fixes
Reviewer Review Type Date Requested Status
Holger Brunn (Therp) code review Approve
Stefan Rijnhart (Opener) Approve
Pedro Manuel Baeza code review Approve
Review via email: mp+200474@code.launchpad.net

Description of the change

was installing this on trunk and ran into a few import errors. This resolves them and should have no effect on 7.0 as just making imports explicit.

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

LGTM

review: Approve (code review)
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Thanks!

review: Approve
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_banking/parsers/models.py'
2--- account_banking/parsers/models.py 2013-10-02 10:20:26 +0000
3+++ account_banking/parsers/models.py 2014-01-05 02:39:21 +0000
4@@ -20,7 +20,7 @@
5 ##############################################################################
6
7 import re
8-from tools.translate import _
9+from openerp.tools.translate import _
10
11 class mem_bank_statement(object):
12 '''
13
14=== modified file 'account_banking/sepa/online.py'
15--- account_banking/sepa/online.py 2013-04-15 13:59:50 +0000
16+++ account_banking/sepa/online.py 2014-01-05 02:39:21 +0000
17@@ -25,10 +25,10 @@
18 import re
19 import urllib, urllib2
20 from BeautifulSoup import BeautifulSoup
21-from account_banking.sepa import postalcode
22-from account_banking.sepa.urlagent import URLAgent, SoupForm
23-from account_banking.sepa.iban import IBAN
24-from account_banking.struct import struct
25+from openerp.addons.account_banking.sepa import postalcode
26+from openerp.addons.account_banking.sepa.urlagent import URLAgent, SoupForm
27+from openerp.addons.account_banking.sepa.iban import IBAN
28+from openerp.addons.account_banking.struct import struct
29
30 __all__ = [
31 'account_info',
32
33=== modified file 'account_banking/wizard/banking_transaction_wizard.py'
34--- account_banking/wizard/banking_transaction_wizard.py 2013-10-14 12:33:57 +0000
35+++ account_banking/wizard/banking_transaction_wizard.py 2014-01-05 02:39:21 +0000
36@@ -21,7 +21,7 @@
37 #
38 ##############################################################################
39
40-from osv import orm, fields
41+from openerp.osv import orm, fields
42 from openerp.tools.translate import _
43
44 """

Subscribers

People subscribed via source and target branches

to status/vote changes: