diff --git a/product_category_description/README.rst b/product_category_description/README.rst new file mode 100644 index 00000000000..0421e25674e --- /dev/null +++ b/product_category_description/README.rst @@ -0,0 +1,84 @@ +============================ +Product Category Description +============================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:aad2e900407ce21f07ffaf83b35cac063b426cfa7b0ddc75119621be83d2f247 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fproduct--attribute-lightgray.png?logo=github + :target: https://github.com/OCA/product-attribute/tree/16.0/product_category_description + :alt: OCA/product-attribute +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_category_description + :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/product-attribute&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a field 'description' on product category level. + +**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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ForgeFlow + +Contributors +~~~~~~~~~~~~ + +* Marc Belmonte + +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. + +.. |maintainer-MarcBForgeFlow| image:: https://github.com/MarcBForgeFlow.png?size=40px + :target: https://github.com/MarcBForgeFlow + :alt: MarcBForgeFlow + +Current `maintainer `__: + +|maintainer-MarcBForgeFlow| + +This module is part of the `OCA/product-attribute `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_category_description/__init__.py b/product_category_description/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/product_category_description/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/product_category_description/__manifest__.py b/product_category_description/__manifest__.py new file mode 100644 index 00000000000..704381236cb --- /dev/null +++ b/product_category_description/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2022 ForgeFlow +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Product Category Description", + "summary": "Allows to add a detailed description for a product category.", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "maintainers": ["MarcBForgeFlow"], + "website": "https://github.com/OCA/product-attribute", + "depends": ["product"], + "data": ["views/product_category.xml"], +} diff --git a/product_category_description/i18n/es.po b/product_category_description/i18n/es.po new file mode 100644 index 00000000000..c329a2fe216 --- /dev/null +++ b/product_category_description/i18n/es.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_category_description +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-01-15 14:33+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__description +msgid "Description" +msgstr "Descripción" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__id +msgid "ID" +msgstr "ID" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: product_category_description +#: model:ir.model,name:product_category_description.model_product_category +msgid "Product Category" +msgstr "Categoría de Producto" diff --git a/product_category_description/i18n/it.po b/product_category_description/i18n/it.po new file mode 100644 index 00000000000..f854e6fd331 --- /dev/null +++ b/product_category_description/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_category_description +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-12-25 10:35+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__description +msgid "Description" +msgstr "Descrizione" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__id +msgid "ID" +msgstr "ID" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: product_category_description +#: model:ir.model,name:product_category_description.model_product_category +msgid "Product Category" +msgstr "Categoria prodotto" diff --git a/product_category_description/i18n/product_category_description.pot b/product_category_description/i18n/product_category_description.pot new file mode 100644 index 00000000000..0df52e3744c --- /dev/null +++ b/product_category_description/i18n/product_category_description.pot @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_category_description +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__description +msgid "Description" +msgstr "" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__display_name +msgid "Display Name" +msgstr "" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category__id +msgid "ID" +msgstr "" + +#. module: product_category_description +#: model:ir.model.fields,field_description:product_category_description.field_product_category____last_update +msgid "Last Modified on" +msgstr "" + +#. module: product_category_description +#: model:ir.model,name:product_category_description.model_product_category +msgid "Product Category" +msgstr "" diff --git a/product_category_description/models/__init__.py b/product_category_description/models/__init__.py new file mode 100644 index 00000000000..53553f3f2de --- /dev/null +++ b/product_category_description/models/__init__.py @@ -0,0 +1 @@ +from . import product_category diff --git a/product_category_description/models/product_category.py b/product_category_description/models/product_category.py new file mode 100644 index 00000000000..c46111c23c6 --- /dev/null +++ b/product_category_description/models/product_category.py @@ -0,0 +1,10 @@ +# Copyright 2022 ForgeFlow +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ProductCategory(models.Model): + _inherit = "product.category" + + description = fields.Char(default="", copy=False) diff --git a/product_category_description/readme/CONTRIBUTORS.rst b/product_category_description/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..db27d5c9e16 --- /dev/null +++ b/product_category_description/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Marc Belmonte diff --git a/product_category_description/readme/DESCRIPTION.rst b/product_category_description/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..7f46eac6c24 --- /dev/null +++ b/product_category_description/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds a field 'description' on product category level. diff --git a/product_category_description/static/description/icon.png b/product_category_description/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/product_category_description/static/description/icon.png differ diff --git a/product_category_description/static/description/index.html b/product_category_description/static/description/index.html new file mode 100644 index 00000000000..223fd9bff3e --- /dev/null +++ b/product_category_description/static/description/index.html @@ -0,0 +1,425 @@ + + + + + +Product Category Description + + + +
+

Product Category Description

+ + +

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

+

This module adds a field ‘description’ on product category level.

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ForgeFlow
  • +
+
+
+

Contributors

+ +
+
+

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.

+

Current maintainer:

+

MarcBForgeFlow

+

This module is part of the OCA/product-attribute project on GitHub.

+

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

+
+
+
+ + diff --git a/product_category_description/views/product_category.xml b/product_category_description/views/product_category.xml new file mode 100644 index 00000000000..8655c907f78 --- /dev/null +++ b/product_category_description/views/product_category.xml @@ -0,0 +1,17 @@ + + + + + product.category.form (in product_category_description) + product.category + + + + + + + + diff --git a/setup/product_category_description/odoo/addons/product_category_description b/setup/product_category_description/odoo/addons/product_category_description new file mode 120000 index 00000000000..f908778aaeb --- /dev/null +++ b/setup/product_category_description/odoo/addons/product_category_description @@ -0,0 +1 @@ +../../../../product_category_description \ No newline at end of file diff --git a/setup/product_category_description/setup.py b/setup/product_category_description/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/product_category_description/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)