'e' is not an exception class

bzr revid: olt@tinyerp.com-20081216101825-xxu1fg5jba7nrk30
This commit is contained in:
Olivier Laurent 2008-12-16 11:18:25 +01:00
parent ffc916aaa3
commit 2b5169c00a
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class res_partner(osv.osv):
ref = res and res[0]['ref'] or '0'
try:
nextref = int(ref)+1
except e:
except:
raise osv.except_osv(_('Warning'), _("Couldn't generate the next id because some partners have an alphabetic id !"))
# update the current partner