Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] report_qweb_pdf_watermark #959

Open
wants to merge 48 commits into
base: 18.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
07202c2
report_qweb_pdf_watermark (#86)
hbrunn Jan 9, 2017
7145fc6
OCA Transbot updated translations from Transifex
oca-transbot Jan 14, 2017
c94c853
[MIG] report_qweb_pdf_watermark
StefanRijnhart Apr 22, 2017
7f540d0
[ADD] Prioritize background transparency
StefanRijnhart Apr 24, 2017
fcaf22d
OCA Transbot updated translations from Transifex
oca-transbot Jun 3, 2017
7a7da6c
[FIX] Fix Watermark from PNG
etobella Jun 20, 2017
72a4bfc
OCA Transbot updated translations from Transifex
oca-transbot Jul 1, 2017
8322ee3
[IMP] use PyPDF2 if possible
hbrunn Jun 8, 2017
79e39c9
[UPD] build environment
hbrunn Jul 18, 2017
aa058d0
fix test_report_qweb_signer - tests were causing travis to stall
JordiBForgeFlow Sep 14, 2017
230e2c9
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
640e7f9
[FIX] Don't break printing some upstream reports with invalid models
StefanRijnhart Feb 28, 2018
77e2b18
[UPD] Update report_qweb_pdf_watermark.pot
oca-travis Jun 23, 2018
4408056
[MIG] report_qweb_pdf_watermark: Migration to 11.0
schout-it Aug 16, 2018
ab2f35a
[UPD] Update report_qweb_pdf_watermark.pot
oca-travis Mar 15, 2019
9bff33c
Update translation files
oca-transbot Mar 17, 2019
262f3e4
[MIG] report_qweb_pdf_watermark: Migration to 12.0
robin5210 Nov 18, 2019
319aa69
[UPD] Update report_qweb_pdf_watermark.pot
oca-travis Jan 9, 2020
19ed428
Update translation files
oca-transbot Jan 23, 2020
3468ebf
Update translation files
oca-transbot Aug 16, 2020
54a8425
[FIX] Fix 'installable' syntax in manifest file
mstuttgart Oct 9, 2020
fc810a0
report_qweb_pdf_watermark 12.0.1.0.1
OCA-git-bot Oct 13, 2020
7613b5b
[13.0][MIG] report_qweb_pdf_watermark
fshah-initos Jan 28, 2021
9a57a4b
[IMP] report_qweb_pdf_watermark: black, isort, prettier
fshah-initos Jan 29, 2021
c3ff577
[14.0][MIG] report_qweb_pdf_watermark
fshah-initos Jan 29, 2021
f8140d5
[UPD] Update report_qweb_pdf_watermark.pot
oca-travis Apr 14, 2021
7f64664
[UPD] README.rst
OCA-git-bot Apr 14, 2021
dc33a38
[REF] report_qweb_pdf_watermark: remove PyPDF2 from
fernandahf Jun 1, 2022
0c81eb2
report_qweb_pdf_watermark 14.0.1.0.1
OCA-git-bot Jun 1, 2022
efdee88
[MIG] report_qweb_pdf_watermark: Migration to 15.0
bosd Nov 1, 2022
9b58f88
[UPD] Update report_qweb_pdf_watermark.pot
Dec 29, 2022
d832c05
[UPD] README.rst
OCA-git-bot Dec 29, 2022
411c60f
Update translation files
weblate Dec 29, 2022
5192801
[MIG] report_qweb_pdf_watermark: Migration to 16.0
bvanjeelharia Mar 13, 2023
7ec8e41
[UPD] Update report_qweb_pdf_watermark.pot
Apr 4, 2023
dec1574
[UPD] README.rst
OCA-git-bot Apr 4, 2023
f02a1cf
Update translation files
weblate Apr 5, 2023
ab0e0ac
[IMP] Avoiding ERROR in log with tests of report_qweb_pdf_watermark
BT-rmartin Aug 25, 2023
dc0f36e
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
9adfd19
[UPD] README.rst
OCA-git-bot Sep 3, 2023
b8fda5a
[IMP] report_qweb_pdf_watermark: black, isort, prettier
sanderlienaerts Jan 12, 2024
cfdeadc
[MIG] report_qweb_pdf_watermark: Migration to 17.0
sanderlienaerts Jan 12, 2024
5db398d
[UPD] Update report_qweb_pdf_watermark.pot
Nov 26, 2024
7a65fae
[BOT] post-merge updates
OCA-git-bot Nov 26, 2024
c190a2f
Translated using Weblate (Italian)
mymage Nov 27, 2024
012e877
[IMP] report_qweb_pdf_watermark: pre-commit execution
bosd Jan 5, 2025
1a63b84
[MIG] report_qweb_pdf_watermark: Migration to 18.0
bosd Jan 5, 2025
3a2afc9
[FIX] report_qweb_pdf_watermark: Recursion Error
bosd Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[FIX] Don't break printing some upstream reports with invalid models
When no background configuration is present on the report definition,
don't try to browse the report model especially because this breaks
some upstream reports (see odoo/odoo#23389)
StefanRijnhart authored and bosd committed Jan 5, 2025
commit 640e7f983e580f15aff88ca94f6cd6a31a1334af
2 changes: 1 addition & 1 deletion report_qweb_pdf_watermark/__manifest__.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Pdf watermark",
"version": "10.0.1.0.1",
"version": "10.0.1.0.2",
"author": "Therp BV, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
4 changes: 2 additions & 2 deletions report_qweb_pdf_watermark/models/report.py
Original file line number Diff line number Diff line change
@@ -34,9 +34,9 @@ def get_pdf(self, docids, report_name, html=None, data=None):
watermark = None
if report.pdf_watermark:
watermark = b64decode(report.pdf_watermark)
else:
elif report.pdf_watermark_expression:
watermark = tools.safe_eval(
report.pdf_watermark_expression or 'None',
report.pdf_watermark_expression,
dict(env=self.env, docs=self.env[report.model].browse(docids)),
)
if watermark: