Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4539 มุมมอง

Hi,

The header is missing from the reports I print e.g. Sales Order, Invoices etc.


Please help. Thanks

อวตาร
ละทิ้ง

How is you Odoo setup? Plain installation or a Docker Setup? Do you use a web proxy?

ผู้เขียน

Waleed Mohsen not sure but My odoo is running on SH.

You can enable developer mode and go to settings -> under companies section you will find Document Layout so you can configure/preview it from there.

ผู้เขียน

I checked that and the logo does not show. But the company details and partner details are there. But it doesn't print on the documents

คำตอบที่ดีที่สุด

Hi,

Can you check and ensure whether the report.url is correctly configured to your domain/IP in the system parameters.

Activate developer mode, navigate to Settings -> Technical -> Parameters -> System Parameters, check the records and see, whether there is a record with key as report.url, if yes, check and ensure the value is your domain/IP.

If the key is not existing create a record with key report.url and specify the value as your url.

Sample:

Key: report.url   Value https://www.walnutit.com/


Thanks & Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

hi, 

hear the problem was installation of wkhtmltopdf 

i have same issue in odoo 16 finally i corrected by proper installation of wkhtmltopdf

first we have to install wkhtmltopdf ubuntu 22 terminal

      1.    apt install wkhtmltopdf

      2. wkhtmltopdf --version 

      whether its 0.12.6 remove and download 0.12.5

      3.wget https://github\.com/wkhtmltopdf/wkhtmltopdf/releases/download/0\.12\.5/wkhtmltox_0\.12\.5\-1\.bionic_amd64\.deb

     \ 4\.sudo\ dpkg\ \-i\ \ wkhtmltox_0\.12\.5\-1\.bionic_amd64\.deb

sometimes\ it\ may\ error\ then\ try\ to\ install\ one\ or\ two\ things 

    \ 1\.wget\ http://archive\.ubuntu\.com/ubuntu/pool/main/o/openssl/libssl1\.1_1\.1\.1\-1ubuntu2\.1\~18\.04\.22_amd64\.deb

   \ 2\.sudo\ dpkg\ \-i\ libssl1.1_1.1.1-1ubuntu2.1~18.04.22_amd64.deb

    3.sudo apt-get install xfonts-75dpi

    4.sudo apt-get update

    5.apt --fix-broken install


finally confirm  the "wkhtmltopdf version is  0.12.5"

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 23
2062
2
ม.ค. 23
11671
1
พ.ค. 22
2626
8
ก.ค. 20
5357
1
พ.ย. 22
3381