Skip to Content
Menu
This question has been flagged

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
    
Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

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,

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 16
3463
1
Mar 24
2461
2
Feb 23
5790
2
Feb 23
2485
1
May 16
3455