Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
1527 Weergaven

My database was expired and i renewed after 1 day after expiration,but after that  my all PDF reports are entirely differ from initial format.how it solve? i configured web.base.url and report.url correctly but still issue was not resolved



Avatar
Annuleer

Did you tried with wkhtmltopdf 0.12.5 ? also see this thread https://github.com/odoo/odoo/issues/171463

Auteur

Yes, wkhtmltopdf 0.12.6 is installed

Beste antwoord

send screenshot for more clarification.

Avatar
Annuleer
Beste antwoord

I resolved this issue by regenerating the asset bundle. Initially, I tried adding the following system parameters:

report.url = "http://localhost:8069" 

report.url.freeze = True 


However, this did not fix the alignment problem.

To regenerate the asset bundle:

  1. Activate Developer Mode.
  2. Click on the bug icon in the top-right corner.
  3. Select Regenerate Asset Bundles.

Avatar
Annuleer
Auteur Beste antwoord

this is screenshot for the current alignment for sale report, there is no header and footer, no table etc

Avatar
Annuleer

ok try to restart odoo server or upgrade base model it will be solved

Auteur

tried many times but no change

Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 21
2346
1
mei 18
3561
2
jan. 17
6672
3
mrt. 15
7393
3
mrt. 25
1104