[FIX] Import should raise an uncaught exception if not identified
lp bug: https://launchpad.net/bugs/510600 fixed bzr revid: jvo@tinyerp.com-20100122143908-7qxkxrmc5gcuwlq3
This commit is contained in:
@@ -862,6 +862,8 @@ class orm_template(object):
|
||||
if isinstance(e, osv.orm.except_orm ):
|
||||
msg = _('Insertion Failed! ' + e[1])
|
||||
return (-1, res, 'Line ' + str(counter) +' : ' + msg, '' )
|
||||
#Raising Uncaught exception
|
||||
raise
|
||||
for lang in translate:
|
||||
context2 = context.copy()
|
||||
context2['lang'] = lang
|
||||
|
||||
Reference in New Issue
Block a user