跳至內容
選單
此問題已被標幟
3 回覆
1510 瀏覽次數

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



頭像
捨棄

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

作者

Yes, wkhtmltopdf 0.12.6 is installed

最佳答案

send screenshot for more clarification.

頭像
捨棄
最佳答案

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.

頭像
捨棄
作者 最佳答案

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

頭像
捨棄

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

作者

tried many times but no change

相關帖文 回覆 瀏覽次數 活動
0
9月 21
2330
1
5月 18
3540
2
1月 17
6660
3
3月 15
7387
3
3月 25
1092