He clonado e instalado la última versión del módulo par importar norma 43 (Branch 8.0 en Odoo 8.0) y me está arrojando el siguiente error:
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 544, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 581, in dispatch
result = self._call_function(self.params)
File "/opt/odoo/openerp/http.py", line 317, in _call_function
return checked_call(self.db, *args, *kwargs)
File "/opt/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, args, kwargs)
File "/opt/odoo/openerp/http.py", line 314, in checked_call
return self.endpoint(*a, kw)
File "/opt/odoo/openerp/http.py", line 810, in call
return self.method(*args, *kw)
File "/opt/odoo/openerp/http.py", line 410, in response_wrap
response = f(args, kw)
File "/opt/odoo/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, kwargs)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, *args, *kwargs)
File "/opt/odoo/openerp/api.py", line 399, in old_api
result = method(recs, args, kwargs)
File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 68, in import_file
)._import_file(data_file)
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, *args, kwargs)
File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 128, in _import_file
statements = self._parse_all_files(data_file)
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, *args, *kwargs)
File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 110, in _parse_all_files
parse_result = self._parse_file(import_file)
File "/opt/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, args, kwargs)
File "/opt/odoo/openerp/api.py", line 508, in new_api
result = method(self._model, cr, uid, *args, old_kwargs)
File "/opt/addons/bank-statement-import/account_bank_statement_import_camt/models/account_bank_statement_import.py", line 42, in _parse_file
cr, uid, data_file, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, *args, *kwargs)
File "/opt/addons/bank-statement-import/account_bank_statement_import_mt940_nl_ing/account_bank_statement_import.py", line 44, in _parse_file
cr, uid, data_file, context=context)
File "/opt/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, args, kwargs)
File "/opt/odoo/openerp/api.py", line 372, in old_api
result = method(recs, *args, **kwargs)
File "/opt/addons/l10n-spain/l10n_es_account_bank_statement_import_n43/models/account_bank_statement_import_n43.py", line 309, in _parse_file
line[self.journal_id.n43_date_type]),
KeyError: False
Buenas tardes,
He clonado e instalado la última versión del módulo par importar norma 43 (Branch 8.0 en Odoo 8.0) y me está arrojando el siguiente error:
Traceback (most recent call last): File "/opt/odoo/openerp/http.py", line 544, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 581, in dispatch result = self._call_function(self.params) File "/opt/odoo/openerp/http.py", line 317, in _call_function return checked_call(self.db, *args, *kwargs) File "/opt/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, args, kwargs) File "/opt/odoo/openerp/http.py", line 314, in checked_call return self.endpoint(*a, kw) File "/opt/odoo/openerp/http.py", line 810, in call return self.method(*args, *kw) File "/opt/odoo/openerp/http.py", line 410, in response_wrap response = f(args, kw) File "/opt/odoo/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, kwargs) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, *kwargs) File "/opt/odoo/openerp/api.py", line 399, in old_api result = method(recs, args, kwargs) File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 68, in import_file )._import_file(data_file) File "/opt/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, kwargs) File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 128, in _import_file statements = self._parse_all_files(data_file) File "/opt/odoo/openerp/api.py", line 266, in wrapper return new_api(self, *args, *kwargs) File "/opt/addons/bank-statement-import/account_bank_statement_import/models/account_bank_statement_import.py", line 110, in _parse_all_files parse_result = self._parse_file(import_file) File "/opt/odoo/openerp/api.py", line 266, in wrapper return new_api(self, args, kwargs) File "/opt/odoo/openerp/api.py", line 508, in new_api result = method(self._model, cr, uid, *args, old_kwargs) File "/opt/addons/bank-statement-import/account_bank_statement_import_camt/models/account_bank_statement_import.py", line 42, in _parse_file cr, uid, data_file, context=context) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, *kwargs) File "/opt/addons/bank-statement-import/account_bank_statement_import_mt940_nl_ing/account_bank_statement_import.py", line 44, in _parse_file cr, uid, data_file, context=context) File "/opt/odoo/openerp/api.py", line 268, in wrapper return old_api(self, args, kwargs) File "/opt/odoo/openerp/api.py", line 372, in old_api result = method(recs, *args, **kwargs) File "/opt/addons/l10n-spain/l10n_es_account_bank_statement_import_n43/models/account_bank_statement_import_n43.py", line 309, in _parse_file line[self.journal_id.n43_date_type]), KeyError: False
Muchas gracias por vuestra ayuda.
Un saludo,