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

[16.0][web_help] Bug: cannot generate HTML reports anymore #3019

Open
arnaudlayec opened this issue Dec 15, 2024 · 0 comments
Open

[16.0][web_help] Bug: cannot generate HTML reports anymore #3019

arnaudlayec opened this issue Dec 15, 2024 · 0 comments
Labels

Comments

@arnaudlayec
Copy link

Module: web_help
Version : 16.0

When trying to generate an HTML report, a javascript (front-end) error is issued. PDF and XLSX report still works fine.
The HTML report is actually well generated (and accessible through link like http://[server-address]/report/html/[module].[report_name]/[id] (e.g. : http://localhost:8069/report/html/hr_timesheet_report.report/1)
However, it cannot be loaded in Odoo interface after playing a standard HTML report action.

The following error is thrown by OWL (so it's a front-end error, no Python/back-end):
Caused by: TypeError: Cannot read properties of undefined (reading 'resModel')
    at ControlPanel.template (eval at compile (https://erp-dev.aluval.fr/web/assets/debug/web.assets_common.js:22001:20), <anonymous>:86:58) (/web/static/lib/owl/owl.js:5598)
    at ControlPanel.template (eval at compile (https://erp-dev.aluval.fr/web/assets/debug/web.assets_common.js:22001:20), <anonymous>:18:27) (/web/static/lib/owl/owl.js:5598)
    at Fiber._render (https://erp-dev.aluval.fr/web/assets/debug/web.assets_common.js:18125:38) (/web/static/lib/owl/owl.js:1722)
    at Fiber.render (https://erp-dev.aluval.fr/web/assets/debug/web.assets_common.js:18117:18) (/web/static/lib/owl/owl.js:1714)
    at ComponentNode.initiateRender (https://erp-dev.aluval.fr/web/assets/debug/web.assets_common.js:18788:23) (/web/static/lib/owl/owl.js:2385)

Steps to reproduce the behavior:

  1. Install a module generating an HTML report (e.g. account_move_reporting or hr_timesheet_reporting)
  2. Generate HTML report: it works fine
  3. Install web_help
  4. Generate HTML report: it fails
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