Hello,
- Im working with Odoo 16 enterprise (with an Odoo 11 migrated databse) and I'm having a problem printing the invoices in pdf.
- Is installed the wkhtmltopdf 0.12.5.1 like the Odoo manual says (downgraded from 0.12.6 to try solve the problem).
- The template configuration for the invoice is done (with developer mode) in settings/ document design/ configure design of document (res.config.settings).
- I select the template, and I treat to simplify the maximum the design. For me, with the details of the company it would be enough.
- So, when I print one invoice, the invoice desing is ok; but if I print several invoices in the same pdf document (I select several invoices and I clic in print) it seems like the template dissapear and in the invoice do not appears the header with our info. This is like a totally clear invoice. So, I try other way.
- I test including logo and writting in the jpg logo our info. It seem is working with one and several invoices, but when I try to print 80 invoices, I receive the next error "wkhtmltopdf failed (error code: -9). Message:"
- I understand that the wkhtmltopdf failed trying to include the 80 "logos". I dont know if it need memory or time.
- So, on the one hand I can print 80 invoices in a pdf WITHOUT our data; and on the other hand we have a code error that dont let print 80 invoices. Both are useless.
- For me is ok any solution. Or fix the problem with wkhtmltopdf to print 80 invoices in the same pdf with logo; or introduce our company data by text in the invoices.
Do you know how we can solve that problem?
Best regards and thanks :-)