Skip to content
Snippets Groups Projects
Commit effff7e0 authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[FIX] account,base: fix TestIrActionsReport


With Python 3.11, PyPDF2 2.12.1 is used and the exception raised when
the encryption type is not supported is now `NotImplementedError`
instead of `PdfReadError` in previous version.

In order to support both version, this commit adds a catche for the
`NotImplementedError` too.

closes odoo/odoo#133149

Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
parent cff36159
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