[FIX] Calling the right super

This commit is contained in:
Stefan Rijnhart
2013-11-17 21:03:24 +01:00
parent 06fc73635a
commit 23f3af0a5e

View File

@@ -56,7 +56,7 @@ class ResPartner(orm.Model):
self, cr, uid, ids, context=None):
if not ids:
return {}
res = super(ResPartner, self).def_journal_account_bank_decr(
res = super(ResPartner, self).def_journal_account_bank_incr(
cr, uid, ids, context=context)
for partner in self.browse(cr, uid, ids, context=context):
if partner.account_receivable_bank_id: