Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lursoft.py #1

Open
Aivenho opened this issue Mar 20, 2017 · 0 comments
Open

lursoft.py #1

Aivenho opened this issue Mar 20, 2017 · 0 comments

Comments

@Aivenho
Copy link

Aivenho commented Mar 20, 2017

Traceback (most recent call last):
File "/opt/odoo/odoo10/odoo/http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo10/odoo/http.py", line 675, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo10/odoo/http.py", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo10/odoo/service/model.py", line 119, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo10/odoo/http.py", line 324, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo10/odoo/http.py", line 933, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo10/odoo/http.py", line 504, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo10/addons/web/controllers/main.py", line 878, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo10/addons/web/controllers/main.py", line 870, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo10/odoo/api.py", line 681, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo10/odoo/api.py", line 672, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/addons10/its1/l10n_lv_check_company_registry/res_partner_check.py", line 52, in check_registry
return self.check_luresoft(code)
File "/opt/odoo/addons10/its1/l10n_lv_check_company_registry/res_partner_check.py", line 58, in check_luresoft
self.get_luresoft(code)
File "/opt/odoo/addons10/its1/l10n_lv_check_company_registry/res_partner_check.py", line 55, in get_luresoft
self.request = lursoft.Luresoft().query(code)
File "/opt/odoo/addons10/its1/l10n_lv_check_company_registry/lursoft.py", line 59, in query
return xml2dict(person)
File "/opt/odoo/addons10/its1/l10n_lv_check_company_registry/lursoft.py", line 62, in xml2dict
return {e.tag: e and xml2dict(e) or e.text for e in el}
TypeError: 'NoneType' object is not iterable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant