Skip to content

[18.0][FIX] report_qweb_pdf_watermark - #20

Open
prayagrk wants to merge 1 commit into
CITOpenRep:18.0from
prayagrk:18.0-fix-report_qweb_pdf_watermark
Open

prayagrk wants to merge 1 commit into
CITOpenRep:18.0from
prayagrk:18.0-fix-report_qweb_pdf_watermark

Conversation

@prayagrk

@prayagrk prayagrk commented Oct 12, 2026 •

Copy link
Copy Markdown

Problem

When use_company_watermark is enabled, the view hides the pdf_watermark and pdf_watermark_expression fields. However, the backend logic may still prioritize the report specific watermark, leading to inconsistent behavior between the UI and backend.

Proposed Change

  • clears pdf_watermark and pdf_watermark_expression when use_company_watermark is enabled;

  • ensures the company watermark takes priority when configured;

  • keeps the UI and backend behavior consistent;

  • prevents confusion when configuring report-specific and company-level watermarks.

Comment thread report_qweb_pdf_watermark/models/report.py Outdated
@prayagrk
prayagrk force-pushed the 18.0-fix-report_qweb_pdf_watermark branch from 520256e to 43af9dd Compare October 12, 2026 12:51
@prayagrk
prayagrk requested a review from ByteMeAsap October 12, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants