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

I have migrated to odoo to on premise . The system is working fine except when trying to  export invoice we see error


odoo.addons.base.models.ir_actions_report: wkhtmltopdf: The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-odoo'Exit with code 1, due to unknown error. 2024-05-13 21:11:00,658 171590 ERROR roadrunner odoo.addons.web.controllers.report: Error while generating report account.report_invoice_with_payments 

when i try to print single invoice it works fine but no headers is printing . but when trying to printing multiple invoice results in above error 


Looks like i need to enable local file system access how do we do it ?

--enable-local-file-access


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

The problem is version of wkhtmltopdf , we should be using 0.12.6.1 (with patched qt)


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
844
1
มี.ค. 25
1013
2
ก.ค. 24
3800
Wkhtmltopdf not found on the sysem แก้ไขแล้ว
2
ก.พ. 24
3121
0
มิ.ย. 22
2211