Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
1600 Ansichten

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
Verwerfen

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

Autor

Yes, wkhtmltopdf 0.12.6 is installed

Beste Antwort

send screenshot for more clarification.

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Autor Beste Antwort

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

Avatar
Verwerfen

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

Autor

tried many times but no change

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Sept. 21
2437
1
Mai 18
3598
2
Jan. 17
6737
3
März 15
7453
3
März 25
1140