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

Consulta Status Nota Cancelada #3572

Open
mileo opened this issue Jan 7, 2025 · 0 comments
Open

Consulta Status Nota Cancelada #3572

mileo opened this issue Jan 7, 2025 · 0 comments
Labels

Comments

@mileo
Copy link
Member

mileo commented Jan 7, 2025

  File "/opt/odoo/auto/addons/l10n_br_fiscal/wizards/document_status_wizard.py", line 26, in doit
    return wizard.get_document_status()
  File "/opt/odoo/auto/addons/l10n_br_fiscal/wizards/document_status_wizard.py", line 17, in get_document_status
    "document_status": self.document_id._document_status(),
  File "/opt/odoo/auto/addons/l10n_br_nfe/models/document.py", line 1193, in _document_status
    status = self.check_nfe_status_in_sefaz()
  File "/opt/odoo/auto/addons/l10n_br_nfe/models/document.py", line 1216, in check_nfe_status_in_sefaz
    status = check_response.resposta.xMotivo
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 652, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/custom/src/odoo/odoo/http.py", line 317, in _handle_exception
    raise exception.with_traceback(None) from new_cause
AttributeError: 'NoneType' object has no attribute 'resposta'

@mileo mileo added the bug label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant