تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2343 أدوات العرض

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
مارس 25
1347
1
مارس 25
1501
2
يوليو 24
4126
2
فبراير 24
3420
0
يونيو 22
2422