[MERGE]merge with main branch
authorTwinkle Christian (OpenERP) <tch@tinyerp.com>
Fri, 24 Aug 2012 08:59:18 +0000 (14:29 +0530)
committerTwinkle Christian (OpenERP) <tch@tinyerp.com>
Fri, 24 Aug 2012 08:59:18 +0000 (14:29 +0530)
bzr revid: tch@tinyerp.com-20120824085918-y69p2653fsqw5t9y

openerp/addons/base/res/res_bank.py

index 112e64d..d07b5d7 100644 (file)
@@ -200,7 +200,6 @@ class res_partner_bank(osv.osv):
                             val._data[val.id]['bank_name'] = _('BANK')
                         result = self._prepare_name_get(cr, uid, t, val, context=context)
                     except:
-                        result += ' [Formatting Error]'
                         raise osv.except_osv(_("Formating Error"), _("Invalid Bank Account Type Name format."))
             res.append((val.id, result))
         return res