Skip to content
Snippets Groups Projects
Commit d2b97524 authored by Abdelouahab (abla)'s avatar Abdelouahab (abla)
Browse files

[FIX] base: merging unreadable pdfs


To Reproduce
============
- create two Vendor Bills and attach to each one a PDF from the ones
provided by the client on the ticket.
- select these two bills and and try to print Original Bills an error will be raised

Problem
=======
while merging these PDFs, PyPDF2 throws a `TypeError` which is not caught by the server

Solution
========
catch `TypeError` to raise a UserError

opw-3285540

closes odoo/odoo#120756

Signed-off-by: default avatarabla001 <abla@odoo.com>
parent 6162d702
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment