Wednesday, April 22, 2026
1 change · saas-18.4
Enhancements to existing features
For Saudi Arabia point-of-sale orders, invoice PDF creation is now postponed until the document is actually viewed or downloaded. This reduces checkout waiting time because cashiers no longer wait for PDF generation during order synchronization, while required ZATCA signing and QR code handling still happen immediately.
Original PR description
For SA companies, wkhtmltopdf PDF generation was accounting for ~47% of the sync_from_ui response time (~3.1s out of ~6.5s total), blocking the cashier at every order. The PDF is not needed during checkout: ZATCA requires only the signed XML and returns the QR code. The PDF can be generated on demand when the invoice is first viewed or downloaded. opw-6019994 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#258732 Forward-Port-Of: odoo/odoo#253641