Hello,
When I try printing any document i'm getting the following error. I'm using Odoo11 EE on hosted on odoo.sh.
everything was working fine couple of hours ago.
Any idea? I'm thinking of updating wkhtmltopdf from odoo.sh shell. but i'm not sure if i should do that. and i need to know what happened.
regards, and think you in advance.
Odoo Warning - Warning
Wkhtmltopdf failed (error code: 2). Message: usage: wkhtmltopdf [-h] [--cookie --COOKIE --COOKIE] [--quiet]
[--page-size --PAGE-SIZE] [--page-width --PAGE-WIDTH]
[--page-height --PAGE-HEIGHT] [--margin-top --MARGIN-TOP]
[--margin-left --MARGIN-LEFT]
[--margin-right --MARGIN-RIGHT]
[--margin-bottom --MARGIN-BOTTOM]
[--header-html --HEADER-HTML]
[--header-spacing --HEADER-SPACING]
[--header-line --HEADER-LINE] [--footer-html --FOOTER-HTML]
[--orientation --ORIENTATION] [--dpi --DPI]
[--viewport-size --VIEWPORT-SIZE] [--version]
[files [files ...]]
wkhtmltopdf: error: unrecognized arguments: --disable-local-file-access
[--page-size --PAGE-SIZE] [--page-width --PAGE-WIDTH]
[--page-height --PAGE-HEIGHT] [--margin-top --MARGIN-TOP]
[--margin-left --MARGIN-LEFT]
[--margin-right --MARGIN-RIGHT]
[--margin-bottom --MARGIN-BOTTOM]
[--header-html --HEADER-HTML]
[--header-spacing --HEADER-SPACING]
[--header-line --HEADER-LINE] [--footer-html --FOOTER-HTML]
[--orientation --ORIENTATION] [--dpi --DPI]
[--viewport-size --VIEWPORT-SIZE] [--version]
[files [files ...]]
wkhtmltopdf: error: unrecognized arguments: --disable-local-file-access
I think it resolved now. Just try again.