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

[report_py3o] errore in print pdf #926

Open
1 task
matteoopenf opened this issue Aug 30, 2024 · 0 comments
Open
1 task

[report_py3o] errore in print pdf #926

matteoopenf opened this issue Aug 30, 2024 · 0 comments
Labels

Comments

@matteoopenf
Copy link

Module

report_py3o

Describe the bug

When I try to print a pdf from Libro Giornale
I obtain
File "/opt/odoo/community_addons/bundles/reporting-engine/report_py3o/controllers/main.py", line 69, in report_download
requestcontent = json.loads(data)
File "/usr/lib/python3.7/json/init.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not generator

To Reproduce

Affected versions:

  • 12.0

Steps to reproduce the behavior:

  1. Print a libro giornale from this module https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_central_journal
  2. Obtain error

Expected behavior
the print works fine

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