[FIX] Account bank statement: Small fix
bzr revid: mra@mra-laptop-20100907060658-ri74f61lbuyt43l9
This commit is contained in:
parent
07ff80ca26
commit
0ff1aecac1
|
@ -632,7 +632,7 @@ class account_bank_statement_line(osv.osv):
|
|||
context = {}
|
||||
if not partner_id:
|
||||
return res
|
||||
|
||||
account_id = False
|
||||
line = self.browse(cursor, user, line_id)
|
||||
if not line or (line and not line[0].account_id):
|
||||
part = obj_partner.browse(cursor, user, partner_id, context=context)
|
||||
|
|
Loading…
Reference in New Issue