[FIX]res_bank.py

bzr revid: tch@tinyerp.com-20120706100641-idkoar0ruwinlb8b
This commit is contained in:
Twinkle Christian (OpenERP)
2012-07-06 15:36:41 +05:30
parent f73f55c283
commit 891ef5786b
+1 -1
View File
@@ -190,7 +190,7 @@ class res_partner_bank(osv.osv):
result = t.format_layout % val._data[val.id]
except:
result += ' [Formatting Error]'
raise
raise osv.except_osv(_("Warning"), _("You cannot avoid default format_layout to result in True"))
res.append((val.id, result))
return res