From 589ee080ab3ba2da4e6a5166bb0abed8105a5c89 Mon Sep 17 00:00:00 2001 From: Pierrick Brun Date: Thu, 31 Dec 2020 14:42:05 +0100 Subject: [PATCH] [ADD] knowledge_attachment_category --- attachment_category/__manifest__.py | 1 + knowledge_attachment_category/README.rst | 68 +++ knowledge_attachment_category/__init__.py | 0 knowledge_attachment_category/__manifest__.py | 17 + .../readme/DESCRIPTION.rst | 1 + .../static/description/index.html | 412 ++++++++++++++++++ .../views/knowledge.xml | 19 + .../odoo/addons/knowledge_attachment_category | 1 + setup/knowledge_attachment_category/setup.py | 6 + 9 files changed, 525 insertions(+) create mode 100644 knowledge_attachment_category/README.rst create mode 100644 knowledge_attachment_category/__init__.py create mode 100644 knowledge_attachment_category/__manifest__.py create mode 100644 knowledge_attachment_category/readme/DESCRIPTION.rst create mode 100644 knowledge_attachment_category/static/description/index.html create mode 100644 knowledge_attachment_category/views/knowledge.xml create mode 120000 setup/knowledge_attachment_category/odoo/addons/knowledge_attachment_category create mode 100644 setup/knowledge_attachment_category/setup.py diff --git a/attachment_category/__manifest__.py b/attachment_category/__manifest__.py index 30c71f89..a1c38ac8 100644 --- a/attachment_category/__manifest__.py +++ b/attachment_category/__manifest__.py @@ -7,6 +7,7 @@ Adds a document category to help classification""", "version": "14.0.1.0.0", "license": "AGPL-3", + "website": "https://github.com/OCA/knowledge", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "depends": ["base"], "data": [ diff --git a/knowledge_attachment_category/README.rst b/knowledge_attachment_category/README.rst new file mode 100644 index 00000000..c08210c2 --- /dev/null +++ b/knowledge_attachment_category/README.rst @@ -0,0 +1,68 @@ +============================= +Knowledge Attachment Category +============================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/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/14.0/knowledge_attachment_category + :alt: OCA/knowledge +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-knowledge_attachment_category + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/118/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a searchpanel on knowledge's documents with attachment categories + +**Table of contents** + +.. contents:: + :local: + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/knowledge_attachment_category/__init__.py b/knowledge_attachment_category/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/knowledge_attachment_category/__manifest__.py b/knowledge_attachment_category/__manifest__.py new file mode 100644 index 00000000..f79efe2b --- /dev/null +++ b/knowledge_attachment_category/__manifest__.py @@ -0,0 +1,17 @@ +{ + "name": "Knowledge Attachment Category", + "summary": "Glue module between knowledge and attachment_category", + "version": "14.0.1.0.0", + "category": "Knowledge", + "website": "https://github.com/OCA/knowledge", + "author": " Akretion, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "auto_install": True, + "depends": [ + "knowledge", + "attachment_category", + ], + "data": ["views/knowledge.xml"], +} diff --git a/knowledge_attachment_category/readme/DESCRIPTION.rst b/knowledge_attachment_category/readme/DESCRIPTION.rst new file mode 100644 index 00000000..39c32a6f --- /dev/null +++ b/knowledge_attachment_category/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds a searchpanel on knowledge's documents with attachment categories diff --git a/knowledge_attachment_category/static/description/index.html b/knowledge_attachment_category/static/description/index.html new file mode 100644 index 00000000..b18a4a5f --- /dev/null +++ b/knowledge_attachment_category/static/description/index.html @@ -0,0 +1,412 @@ + + + + + + +Knowledge Attachment Category + + + +
+

Knowledge Attachment Category

+ + +

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

+

This module adds a searchpanel on knowledge’s documents with attachment categories

+

Table of contents

+ +
+

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 smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+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.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/knowledge_attachment_category/views/knowledge.xml b/knowledge_attachment_category/views/knowledge.xml new file mode 100644 index 00000000..b53e0ac2 --- /dev/null +++ b/knowledge_attachment_category/views/knowledge.xml @@ -0,0 +1,19 @@ + + + + ir.attachment + + + + + + + + + + diff --git a/setup/knowledge_attachment_category/odoo/addons/knowledge_attachment_category b/setup/knowledge_attachment_category/odoo/addons/knowledge_attachment_category new file mode 120000 index 00000000..f5058ec0 --- /dev/null +++ b/setup/knowledge_attachment_category/odoo/addons/knowledge_attachment_category @@ -0,0 +1 @@ +../../../../knowledge_attachment_category \ No newline at end of file diff --git a/setup/knowledge_attachment_category/setup.py b/setup/knowledge_attachment_category/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/knowledge_attachment_category/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)