Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
1595 Näkymät

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
Hylkää

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

Tekijä

Yes, wkhtmltopdf 0.12.6 is installed

Paras vastaus

send screenshot for more clarification.

Avatar
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää

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

Tekijä

tried many times but no change

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
syysk. 21
2429
1
toukok. 18
3597
2
tammik. 17
6726
3
maalisk. 15
7440
3
maalisk. 25
1136