Skip to Content
Menu
This question has been flagged
1 Reply
2288 Views

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


Avatar
Discard
Author Best Answer

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


Avatar
Discard
Related Posts Replies Views Activity
0
Mar 25
1290
1
Mar 25
1456
2
Jul 24
4090
2
Feb 24
3396
0
Jun 22
2395