From 6219a6a26ff1be899cba3322e2a448ff9eb3ec5e Mon Sep 17 00:00:00 2001 From: Ernad Husremovic Date: Mon, 9 Mar 2026 16:17:25 +0100 Subject: [PATCH] revert PyPDF2 3.x shim (now pinned to 2.12.1 via nix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 assisted by claude --- odoo-bringout-oca-ocb-base/odoo/tools/pdf/_pypdf2_2.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/odoo-bringout-oca-ocb-base/odoo/tools/pdf/_pypdf2_2.py b/odoo-bringout-oca-ocb-base/odoo/tools/pdf/_pypdf2_2.py index 7fc1bcb0..8fcb2770 100644 --- a/odoo-bringout-oca-ocb-base/odoo/tools/pdf/_pypdf2_2.py +++ b/odoo-bringout-oca-ocb-base/odoo/tools/pdf/_pypdf2_2.py @@ -17,7 +17,3 @@ class PdfWriter(_Writer): def _addObject(self, *args, **kwargs): return self._add_object(*args, **kwargs) - - def cloneReaderDocumentRoot(self, reader): - # PyPDF2 3.0 renamed camelCase to snake_case and removed the old names - return self.clone_reader_document_root(reader)