Repository
OCA/knowledge · module folder · Try on Runboat
Module version
1.0.0
Category
Knowledge
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/knowledge
Last tracking update
2026-08-07 08:23:01
Authors
Odoo Community Association (OCA), Sygel
Maintainers
Odoo Community Association (OCA), Sygel
Committers
Weblate, OCA-git-bot, oca-ci, Juan Alberto Raja
Odoo dependencies
OCA/knowledge:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_document_page_tag_form_extended document.page.tag.form.extended document.page.tag form Inherits document_page_tag.view_document_page_tag_form
view_document_page_tag_search_extended document.page.tag.search.extended document.page.tag search Inherits document_page_tag.view_document_page_tag_search
view_document_page_tag_tree_extended document.page.tag.tree.extended document.page.tag tree Inherits document_page_tag.view_document_page_tag_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • is_not_printable Boolean
    compute='_compute_is_not_printable' help='Indicates if the document cannot be printed based on its tags' store=True
Public methods (0)

No public methods.

New fields (1)
  • is_not_printable Boolean
    default=False help='If checked, pages with this tag cannot be printed'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…