You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Após instalar o módulo l10n_br_account, não é mais possível imprimir relatórios PDF no sistema.
Traceback (most recent call last):
File "/opt/odoo/addons/web/controllers/report.py", line 113, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/opt/odoo/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo-venv/lib/python3.10/site-packages/odoo/addons/report_xlsx/controllers/main.py", line 49, in report_routes
return super().report_routes(reportname, docids, converter, **data)
File "/opt/odoo/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/report.py", line 42, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
TypeError: IrActionsReport._render_qweb_pdf() got multiple values for argument 'data'
Module
l10n_br_account
Describe the bug
Após instalar o módulo l10n_br_account, não é mais possível imprimir relatórios PDF no sistema.
Traceback (most recent call last):
File "/opt/odoo/addons/web/controllers/report.py", line 113, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/opt/odoo/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo-venv/lib/python3.10/site-packages/odoo/addons/report_xlsx/controllers/main.py", line 49, in report_routes
return super().report_routes(reportname, docids, converter, **data)
File "/opt/odoo/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/report.py", line 42, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
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
RPC_ERROR
at makeErrorFromResponse (http://oca-l10n-brazil-16-0-bf60b0d93b26.runboat.odoo-community.org/web/assets/679-001b8a1/web.assets_backend.min.js:997:163)
at decoder.onload (http://oca-l10n-brazil-16-0-bf60b0d93b26.runboat.odoo-community.org/web/assets/679-001b8a1/web.assets_backend.min.js:984:7)
To Reproduce
Affected versions: 16.0
Steps to reproduce the behavior:
Expected behavior
Download do arquivo PDF relacionado ao registro
Additional context
Ao remover o módulo l10n_br_account o arquivo é baixado normalmente.
The text was updated successfully, but these errors were encountered: