跳至内容
菜单
此问题已终结
1 回复
2377 查看

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)


形象
丢弃
相关帖文 回复 查看 活动
0
3月 25
1370
1
3月 25
1522
2
7月 24
4138
2
2月 24
3428
0
6月 22
2427