Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
1509 Представления

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

Related Posts Ответы Просмотры Активность
0
сент. 21
2329
1
мая 18
3538
2
янв. 17
6660
3
мар. 15
7386
3
мар. 25
1091