diff --git a/document_page_group/README.rst b/document_page_group/README.rst index 5597b1a6..ac932d43 100644 --- a/document_page_group/README.rst +++ b/document_page_group/README.rst @@ -17,13 +17,13 @@ Document Page Group :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/17.0/document_page_group + :target: https://github.com/OCA/knowledge/tree/18.0/document_page_group :alt: OCA/knowledge .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_page_group + :target: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_page_group :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=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -41,7 +41,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. @@ -56,10 +56,14 @@ Authors Contributors ------------ -- Enric Tobella -- [APSL-Nagarro](https://apsl.tech): +- Enric Tobella +- [APSL-Nagarro](https://apsl.tech): - - Antoni Marroig + - Antoni Marroig + +- `Heliconia Solutions Pvt. Ltd. `__ + + - Bhavesh Heliconia Maintainers ----------- @@ -74,6 +78,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_group/__manifest__.py b/document_page_group/__manifest__.py index c352dcf0..1ad3481e 100644 --- a/document_page_group/__manifest__.py +++ b/document_page_group/__manifest__.py @@ -5,7 +5,7 @@ "name": "Document Page Group", "summary": """ Define access groups on documents""", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/knowledge", diff --git a/document_page_group/readme/CONTRIBUTORS.md b/document_page_group/readme/CONTRIBUTORS.md index 2c972789..4b1eb6f0 100644 --- a/document_page_group/readme/CONTRIBUTORS.md +++ b/document_page_group/readme/CONTRIBUTORS.md @@ -1,3 +1,5 @@ - Enric Tobella \<\> - \[APSL-Nagarro\](): - Antoni Marroig \<\> +- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io) + - Bhavesh Heliconia diff --git a/document_page_group/static/description/index.html b/document_page_group/static/description/index.html index c9165994..ffed4adf 100644 --- a/document_page_group/static/description/index.html +++ b/document_page_group/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:f45c4b222f68eeb262b2d35167de6f02623d4b6119dcdaa58f979270cd5cb849 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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 allows to define groups on a category.

Table of contents

@@ -387,7 +388,7 @@ ul.auto-toc {

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.

@@ -406,16 +407,22 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
  • Antoni Marroig <amarroig@apsl.net>
  • +
  • Heliconia Solutions Pvt. Ltd.
      +
    • Bhavesh Heliconia
    • +
    +
  • Maintainers

    This module is maintained by the OCA.

    -Odoo Community Association + +Odoo Community Association +

    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_group/tests/test_document_page_group.py b/document_page_group/tests/test_document_page_group.py index b2aea7a2..ac521896 100644 --- a/document_page_group/tests/test_document_page_group.py +++ b/document_page_group/tests/test_document_page_group.py @@ -1,10 +1,12 @@ # Copyright 2020 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests.common import TransactionCase +from odoo import Command + +from odoo.addons.base.tests.common import BaseCommon -class TestDocumentPageGroup(TransactionCase): +class TestDocumentPageGroup(BaseCommon): @classmethod def setUpClass(cls): super().setUpClass() @@ -14,7 +16,7 @@ class TestDocumentPageGroup(TransactionCase): "name": "user", "login": "login", "email": "email", - "groups_id": [(4, knowledge_group)], + "groups_id": [Command.link(knowledge_group)], } ) cls.group = cls.env.ref("document_page.group_document_manager") @@ -37,7 +39,7 @@ class TestDocumentPageGroup(TransactionCase): ) self.assertIn(self.page.id, pages.ids) - self.categ_1.write({"direct_group_ids": [(4, self.group.id)]}) + self.categ_1.write({"direct_group_ids": [Command.link(self.group.id)]}) self.assertIn(self.group.id, self.categ_2.group_ids.ids) pages = (