Document Page Tag Print Control
document_page_tag_print_control · OCA/knowledge
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
is_not_printableBooleancompute='_compute_is_not_printable'help='Indicates if the document cannot be printed based on its tags'store=True
No public methods.
-
is_not_printableBooleandefault=Falsehelp='If checked, pages with this tag cannot be printed'
No public methods.
No new fields.
Public methods (0)No public methods.
Loading…