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

Ao consultar a situação das NFS Paulistana gera este erro. #38

Open
marcos-mendez opened this issue Jun 25, 2021 · 0 comments
Open

Ao consultar a situação das NFS Paulistana gera este erro. #38

marcos-mendez opened this issue Jun 25, 2021 · 0 comments

Comments

@marcos-mendez
Copy link

Screenshot from 2021-06-25 11-59-03

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 967, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 955, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 759, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 746, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/l10n-brazil/l10n_br_fiscal/wizards/document_status_wizard.py", line 24, in doit
return wizard.get_document_status()
File "/usr/lib/python3/dist-packages/odoo/l10n-brazil/l10n_br_fiscal/wizards/document_status_wizard.py", line 15, in get_document_status
"document_status": self.document_id._document_status(),
File "/usr/lib/python3/dist-packages/odoo/l10n-brazil/l10n_br_nfse_paulistana/models/document.py", line 362, in _document_status
consulta = processador.analisa_retorno_consulta(processo)
File "/usr/local/lib/python3.7/dist-packages/erpbrasil/edoc/provedores/paulistana.py", line 141, in analisa_retorno_consulta
retorno.find('.//CodigoVerificacao').text
AttributeError: 'NoneType' object has no attribute 'text'

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