From 20a4f9aa6627c0e2e70ae8c9ea45512a823f0cbc Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 22 Jan 2010 20:09:08 +0530 Subject: [PATCH] [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 --- bin/osv/orm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 893b39909fc..feef5f00447 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -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