Incorrect exception

Bug #1346799 reported by cubells on 2014-07-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SEPA Tools for OpenERP

Bug Description

Openerp 6.1

On create a sepa file, I get this error:

Traceback (most recent call last):
  File "/home/administrador/openerp/src/server/openerp/osv/", line 129, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/administrador/openerp/src/server/openerp/osv/", line 195, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/administrador/openerp/src/server/openerp/osv/", line 183, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/administrador/openerp/src/partner/account_payment_sepa_direct_debit/wizard/", line 391, in create_sepa
    {'line': line}, gen_args, context=context)
  File "/home/administrador/openerp/src/partner/account_payment_pain_base/", line 350, in generate_party_block
    eval_ctx, gen_args, context=context)
  File "/home/administrador/openerp/src/partner/account_payment_pain_base/", line 298, in generate_party_agent
    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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers