[16.0][web_help] Bug: cannot generate HTML reports anymore
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- frontend
Direzione di ricerca
Start with the web_help frontend code involved in standard HTML report actions and compare the flow with PDF and XLSX reports. Reproduce the issue by installing web_help and generating an HTML report; the reported failure is an OWL ControlPanel error reading resModel. The issue is resolved when HTML reports load in the Odoo interface without that error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
- Install a module generating an HTML report (e.g. account_move_reporting or hr_timesheet_reporting)
- Generate HTML report: it works fine
- Install web_help
- Generate HTML report: it fails
- Lingua principale
- JavaScript
- Stelle
- 1.2k
- Fork
- 2.2k
- Merge medio
- 3g 15h
- PR unite (30g)
- 30
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OCA/web
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
[19.0] web_timeline: ValueError "Invalid field 'date_start:month'" when grouping by a date fieldForse già presa @stferraro l’ha presa oggi. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
[19.0] web_m2x_options: system parameter + m2o options not working properly when no recordsForse già presa @CristhianAC l’ha presa 11 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
I maintainer di solito rispondono entro 1 giorno
-
Migration to version 20.0Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertahelp wanted no stale work in progress
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 1-2 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Add: FILMBOX+ Festival FeedApertacheck:passed feeds:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
-
Wallet functions throws TypeError when the wallet has no account IDForse già presa @Medhansh-741 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
hiero-ledger/hiero-sdk-js#4781 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug package:workers-shared
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cloudflare/workers-sdk#16924 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
dashboard
Difficoltà 2/5 Mezza giornata Idoneità per principianti 78/100
damodharg6/payledger#9 ·
-
parse: child keys like `007`, `1e3`, `0x1f`, `-1` make the parent an empty array and hide the valueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100