~therp-nl/banking-addons/ba61-lp1098699-fix_clieop_rounding_issue

« back to all changes in this revision

Viewing changes to account_banking/wizard/banktools.py

  • Committer: Stefan Rijnhart
  • Date: 2012-12-05 07:22:19 UTC
  • mto: This revision was merged to the branch mainline in revision 141.
  • Revision ID: stefan@therp.nl-20121205072219-g1yayel786pqtsu5
[FIX] Typo and docstring

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
                          country_code, log):
126
126
    '''
127
127
    Get or create the partner belonging to the account holders name <name>
 
128
 
 
129
    If multiple partners are found with the same name, select the first and
 
130
    add a warning to the import log.
128
131
    '''
129
132
    partner_obj = pool.get('res.partner')
130
133
    partner_ids = partner_obj.search(cursor, uid, [('name', 'ilike', name)])
180
183
    else:
181
184
        if len(partner_ids) > 1:
182
185
            log.append(
183
 
                _('More then one possible match found for partner with name %(name)s')
 
186
                _('More than one possible match found for partner with name %(name)s')
184
187
                % {'name': name}
185
188
                )
186
189
        partner_id = partner_ids[0]