diff --git a/account_banking_uk_hsbc/__openerp__.py b/account_banking_uk_hsbc/__openerp__.py index b20aa9bdf..d0a953689 100644 --- a/account_banking_uk_hsbc/__openerp__.py +++ b/account_banking_uk_hsbc/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## { 'name': 'HSBC Account Banking', - 'version': '0.4', + 'version': '0.5', 'license': 'AGPL-3', 'author': 'credativ Ltd', 'website': 'http://www.credativ.co.uk', @@ -45,7 +45,7 @@ This module adds above import/export filter to the account_banking module. All business logic is in account_banking module. - Initial release of this module was co-sponsored by canonical. + Initial release of this module was co-sponsored by Canonical. ''', 'active': False, 'installable': True, diff --git a/account_banking_uk_hsbc/account_banking_uk_hsbc.py b/account_banking_uk_hsbc/account_banking_uk_hsbc.py index 26da3c3d9..796329b1b 100644 --- a/account_banking_uk_hsbc/account_banking_uk_hsbc.py +++ b/account_banking_uk_hsbc/account_banking_uk_hsbc.py @@ -106,7 +106,7 @@ class payment_line(osv.osv): info = '' for line in self.browse(cr, uid, ids, context=context): - partner = line.order_id.mode.bank_id + partner = line.bank_id name = partner.owner_name or partner.partner_id.name st = partner.street and partner.street or ''