Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1936 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
853
1
thg 3 25
1019
2
thg 7 24
3801
2
thg 2 24
3132
0
thg 6 22
2211