Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Redner Odoo Module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Redner Odoo Module
Merge requests
!46
Compatibility with pypdf 3+
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Compatibility with pypdf 3+
topic/16.0/fix-pypdf2
into
branch/16.0
Overview
0
Commits
1
Pipelines
0
Changes
3
Merged
Vincent Hatakeyama
requested to merge
topic/16.0/fix-pypdf2
into
branch/16.0
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
--HG-- branch : 16.0
0
0
Merge request reports
Compare
version 1
version 1
cc52818c
1 year ago
branch/16.0 (base)
and
latest version
latest version
74aba83a
1 commit,
1 year ago
version 1
cc52818c
1 commit,
1 year ago
Show latest version
2 files
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
models/redner_report.py
+
4
−
4
Options
@@ -36,5 +36,5 @@
logger
=
logging
.
getLogger
(
__name__
)
_pypdf2
=
Tru
e
_pypdf2
=
Fals
e
try
:
@@ -40,3 +40,3 @@
try
:
from
PyPDF2
import
Pdf
FileReader
,
PdfFile
Writer
from
pypdf
import
PdfWriter
except
ImportError
:
@@ -42,3 +42,3 @@
except
ImportError
:
from
pypdf
import
PdfWriter
from
PyPDF2
import
Pdf
FileReader
,
PdfFile
Writer
@@ -44,5 +44,5 @@
_pypdf2
=
Fals
e
_pypdf2
=
Tru
e
class
RednerReport
(
models
.
TransientModel
):
Loading