From 7c4b6bf9333b48b3a6e75f24b8f93fc548bdd6e1 Mon Sep 17 00:00:00 2001 From: Juan Alberto Raja Date: Mon, 28 Jul 2025 03:06:47 +0200 Subject: [PATCH] [IMP] document_page_tag_print_control: pre-commit auto fixes --- document_page_tag_print_control/README.rst | 16 ++++------ .../pyproject.toml | 3 ++ .../static/description/index.html | 30 ++++++++----------- 3 files changed, 21 insertions(+), 28 deletions(-) create mode 100644 document_page_tag_print_control/pyproject.toml diff --git a/document_page_tag_print_control/README.rst b/document_page_tag_print_control/README.rst index bb7a19f0..64a2c0a3 100644 --- a/document_page_tag_print_control/README.rst +++ b/document_page_tag_print_control/README.rst @@ -1,7 +1,3 @@ -.. image:: https://odoo-community.org/readme-banner-image - :target: https://odoo-community.org/get-involved?utm_source=readme - :alt: Odoo Community Association - =============================== Document Page Tag Print Control =============================== @@ -17,17 +13,17 @@ Document Page Tag Print Control .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github - :target: https://github.com/OCA/knowledge/tree/16.0/document_page_tag_print_control + :target: https://github.com/OCA/knowledge/tree/17.0/document_page_tag_print_control :alt: OCA/knowledge .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page_tag_print_control + :target: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_page_tag_print_control :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -74,7 +70,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -107,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/knowledge `_ project on GitHub. +This module is part of the `OCA/knowledge `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_page_tag_print_control/pyproject.toml b/document_page_tag_print_control/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/document_page_tag_print_control/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/document_page_tag_print_control/static/description/index.html b/document_page_tag_print_control/static/description/index.html index 6a8183c6..86ea8d32 100644 --- a/document_page_tag_print_control/static/description/index.html +++ b/document_page_tag_print_control/static/description/index.html @@ -3,7 +3,7 @@ -README.rst +Document Page Tag Print Control -
+
+

Document Page Tag Print Control

- - -Odoo Community Association - -
-

Document Page Tag Print Control

-

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

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.

@@ -398,7 +393,7 @@ restrictions and can print any document page regardless of its tags.

-

Usage

+

Usage

To restrict the printing of document pages using tags:

  1. Go to Document Management > Configuration > Tags.
  2. @@ -416,23 +411,23 @@ and prevent the action. restriction. They can always print any document page.

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Sygel
-

Contributors

+

Contributors

  • Sygel
    • Juan Alberto Raja
    • @@ -442,7 +437,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
-