Incorrect exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SEPA Tools for OpenERP |
New
|
Undecided
|
Unassigned |
Bug Description
Openerp 6.1
On create a sepa file, I get this error:
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
{'line': line}, gen_args, context=context)
File "/home/
eval_ctx, gen_args, context=context)
File "/home/
except except_orm:
NameError: global name 'except_orm' is not defined
It's necessary either to add an 'from osv.orm import except_orm' or to change except_orm with orm.except_orm in line 298
thanks a lot.