Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Some help please - Webkit Reports asset loading
Re: Odoo Invoice/Payment Cancellation with Reversal Entry.
Some help please - Webkit Reports asset loading
by
MoaHub, Graeme Gellatly
Hi,
I have an issue with webkit reports.
Sometimes the assets simply don't load fast enough, particularly after a new worker is spawned, so the first report out is maybe 60% of the time missing its styling. But everything after prints just fine.
Does anyone know how to configure/code a wait or something until the assets are loaded. I've looked and can't even work out where exactly to start.
The reports are printing on a server action (Sale Order confirmation generally sets them off, but actually on individual models, with individual actions), triggered with delay from OCA queue_job, direct to printer using base_report_to_printer. V12.
I've tried passing commit_assetsbundle in context but it makes no difference.
Follow-Ups
-
Re: Some help please - Webkit Reports asset loading
byMoaHub, Graeme Gellatly -
Re: Some help please - Webkit Reports asset loading
byTecnativa. S. L., Pedro M. Baeza -
Re: Some help please - Webkit Reports asset loading
byTecnativa. S. L., Pedro M. Baeza -
Re: Some help please - Webkit Reports asset loading
byMoaHub, Graeme Gellatly -
Re: Some help please - Webkit Reports asset loading
byTecnativa. S. L., Pedro M. Baeza