OdooWiki OCA HUB

Document Page Tag Print Control

document_page_tag_print_control folder_open OCA/knowledge open_in_new
Knowledge License: AGPL-3

This module adds print control functionality to document pages based on tags. It allows users to control which document pages cannot be printed by configuring tags with a "Not Printable" attribute.

When a document page has one or more tags marked as not printable, printing functionality will be disabled and a warning will be shown if attempted.

Users with the "Manager" role in the "Document Knowledge" section (under Settings > Users > Access Rights > Other) are exempt from these restrictions and can print any document page regardless of its tags.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Lets you mark document tags as "not printable" so that any page carrying such a tag cannot be printed, with a warning shown instead. Managers of the Document Knowledge section can still print everything.

This module adds a print restriction to Knowledge document pages based on the tags assigned to them.

  • On each document tag you get a new "Not Printable" checkbox. Tags are managed from the tag screens, where the new column also appears in the list and can be filtered with the "Non-Printable Tags" and "Printable Tags" filters.
  • Every document page automatically shows whether it is printable: a page becomes non-printable as soon as at least one of its tags is marked as not printable. This value is recalculated automatically when the page's tags change.
  • When a user tries to print one or several document pages, the system checks the tags first. If none of the selected pages can be printed, printing is refused with the message "None of the selected pages can be printed due to their tags." If only some pages are blocked, printing is also refused and the blocked page names are listed in the warning.
  • Users belonging to the Document Knowledge manager group are exempt: they can print any page regardless of its tags.

The module touches the document page, document page tag and the document page report, and extends the tag form, list and search views.

Models and fields (3)
  • document.page · extends an existing modelis_not_printable
  • document.page.tag · extends an existing modelis_not_printable
  • report.document_page.report_documentpage · new model

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/knowledge.

terminal Installation and usage

OCA documentation · Odoo 17.0

To restrict the printing of document pages using tags:

  • Go to Document Management > Configuration > Tags.
  • Create or edit existing tags and use the "Not Printable" checkbox to prevent printing.
  • Check "Not Printable" for tags that should block printing.
  • Assign these tags to document pages. If any tag on a page is marked as not printable, the entire page will be blocked from printing.
  • If you attempt to print such pages, the system will raise a warning and prevent the action.
  • All tags allow printing by default for compatibility.

Users with the Manager role in the "Document Knowledge" section (Settings > Users > Access Rights > Other) are not affected by this restriction. They can always print any document page.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.