julius-network-solutions / julius-openobject-addons

19 stars 39 forks source link

Import bank statement error #11

Open flotho opened 9 years ago

flotho commented 9 years ago

Hy,

Working on filters defined by yourself work perfectly, working with the default filter and configuring it work perfectly, creating a new filer with the same parameter as those below and it failed :

  return new_api(self, *args, **kwargs)
  File "/home/florent/DEV/Lib_Odoo/julius_8.0/account_bank_statement_import/wizard/bank_statement_import.py", line 187, in get_file
    exec "from .filters import " + filter_name + " as parser"
  File "<string>", line 1, in <module>
ImportError: cannot import name bp

bp is the code of my filter

flotho commented 9 years ago

Additionnaly, If I change the values of the default filter to the same paramaters as the brand new one and it works. Something must be wrong in the create form.

regards