~hbrunn/banking-addons/lp-1106831-handle-P

« back to all changes in this revision

Viewing changes to account_banking_uk_hsbc/account_banking_uk_hsbc.py

  • Committer: James Jesudason
  • Date: 2012-03-27 14:55:03 UTC
  • Revision ID: james.jesudason@canonical.com-20120327145503-d3j4743drhl6eat6
[FIX] The destination account address was set incorrectly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        info = ''
107
107
 
108
108
        for line in self.browse(cr, uid, ids, context=context):
109
 
            partner = line.order_id.mode.bank_id
 
109
            partner = line.bank_id
110
110
 
111
111
            name = partner.owner_name or partner.partner_id.name
112
112
            st = partner.street and partner.street or ''