Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] product_category_description: Migration to 16.0 #1842

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions product_category_description/README.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/OCA/product-attribute/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 <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_category_description%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* ForgeFlow

Contributors
~~~~~~~~~~~~

* Marc Belmonte <[email protected]>

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 <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-MarcBForgeFlow|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_category_description>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_category_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions product_category_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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"],
}
42 changes: 42 additions & 0 deletions product_category_description/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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"
42 changes: 42 additions & 0 deletions product_category_description/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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"
39 changes: 39 additions & 0 deletions product_category_description/i18n/product_category_description.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_category_description
#

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file would say that it should be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? The other modules of this repo have this file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing, my bad.

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 ""
1 change: 1 addition & 0 deletions product_category_description/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import product_category
10 changes: 10 additions & 0 deletions product_category_description/models/product_category.py
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions product_category_description/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Marc Belmonte <[email protected]>
1 change: 1 addition & 0 deletions product_category_description/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds a field 'description' on product category level.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading