This commit is contained in:
Stéphane Bidoul
2013-09-12 08:29:37 +02:00
parent 3ef91a5547
commit a5fdc1d1bc

View File

@@ -40,7 +40,7 @@ class payment_mode(orm.Model):
cr, uid, payment_mode_id, context)
if (payment_mode and payment_mode.type and
payment_mode.type.suitable_bank_types):
res = [type.code for type in payment_mode.type.suitable_bank_types]
res = [t.code for t in payment_mode.type.suitable_bank_types]
return res
_columns = {