Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

I'm having issues when trying to print an invoice/quotation or any other type of document. I've already updated the l10n-brazil modules, but the problem persists.

Traceback (most recent call last):
  File "/opt/odoo/odoofg/addons/web/controllers/report.py", line 113, in report_download
    response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoofg/odoo/http.py", line 763, in route_wrapper
    result = endpoint(self, *args, **params_ok)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoofg/addons/web/controllers/report.py", line 42, in report_routes
    pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoofg/custom-addons/brazil/l10n_br_account_nfe/report/ir_actions_report.py", line 17, in _render_qweb_pdf
    return super()._render_qweb_pdf(report_ref, res_ids, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoofg/custom-addons/brazil/l10n_br_nfe/report/ir_actions_report.py", line 23, in _render_qweb_pdf
    return super()._render_qweb_pdf(report_ref, res_ids, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IrActionsReport._render_qweb_pdf() got multiple values for argument 'data'

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    RPCError@http://177.190.68.115:8070/web/assets/305-1d8f2e1/web.assets_backend.min.js:999:274
    makeErrorFromResponse@http://177.190.68.115:8070/web/assets/305-1d8f2e1/web.assets_backend.min.js:1003:163
    configureBlobDownloadXHR/xhr.onload/decoder.onload@http://177.190.68.115:8070/web/assets/305-1d8f2e1/web.assets_backend.min.js:990:7
    
Imagine profil
Abandonează
Autor Cel mai bun răspuns

Thank you very much for your quick response and clarification.

I’ll get in touch with the maintainers of the l10n_br_nfe module as you suggested. I really appreciate your guidance on this!

Best regards,

Daniel

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Daniel,

The traceback you posted seem to indicate an error with the module "l10n_br_nfe" which is not part of Odoo Community or Odoo Enterprise. I suggest that you get in contact with the maintainers of the module which I believe are the maintainers of this repository : https://github.com/OCA/l10n-brazil

Hope this helps!

Kind regards,

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 16
3478
1
mar. 24
2478
2
feb. 23
5808
2
feb. 23
2512
1
mai 16
3464