-
- Downloads
[FIX] account: do not add banner on corrupted PDF
To reproduce ============ - create a vendor Bill - add the PDF (from ticket attached files) in chatter - go back to list view and select the bill -> print Original Bills a traceback is raised Problem ======= for some excptional PDF files (like the one attached in the ticket), the library PyPDF2 that we use to manage PDF files crashes. Solution ======== a [fix](https://github.com/odoo/odoo/commit/e55196375aa124558b87ebd50012d5664295ca07 ) was backported from 16 and updated so that we don't block the flow, we let a message on chatter that there was an error and we ignore adding the banner. opw-3141143 closes odoo/odoo#112454 X-original-commit: 1ce5ba7d627a4082e3b6f4736fcb45fab63d1388 Signed-off-by:John Laterre (jol) <jol@odoo.com> Signed-off-by:
abla001 <abla@odoo.com>
Please register or sign in to comment