-
- Downloads
[FIX] account_edi: continue uploading pdf if decrypting failed
To reproduce ============ - on accounting -> Vendor -> Bills - upload the PDF attached on the ticket an exception is raised Problem ======= PyPDF2 finds that this pdf is encrypted,so we try to decrypt it with empty password, but the decryption fails which rise an error. Solution ======== according to this [commit](https://github.com/odoo/odoo/commit/851fe64f7789bb398383c22e3ebbaebb051791f6 ), when the decryption fails we skip reading the attachments and carry on to allow the user to upload the document. opw-3196780 closes odoo/odoo#114050 Signed-off-by:William André (wan) <wan@odoo.com>
Please register or sign in to comment