From e2d0c9c3d106e213e79f994f6847032af7705c67 Mon Sep 17 00:00:00 2001 From: "Atchuthan, Sodexis" Date: Thu, 17 Mar 2016 17:20:35 +0530 Subject: [PATCH 01/24] [PORT][9.0] product_m2m_categories/product_multi_category --- product_multi_category/README.rst | 73 ++++++++++++++++++ product_multi_category/__init__.py | 5 ++ product_multi_category/__openerp__.py | 20 +++++ product_multi_category/i18n/ca.po | 65 ++++++++++++++++ product_multi_category/i18n/es.po | 64 +++++++++++++++ product_multi_category/i18n/fr.po | 56 ++++++++++++++ product_multi_category/i18n/fr_BE.po | 52 +++++++++++++ .../i18n/product_m2mcategories.pot | 52 +++++++++++++ product_multi_category/i18n/sv.po | 55 +++++++++++++ product_multi_category/i18n/tr.po | 56 ++++++++++++++ product_multi_category/models/__init__.py | 5 ++ product_multi_category/models/product.py | 14 ++++ .../static/description/icon.png | Bin 0 -> 9455 bytes product_multi_category/views/product_view.xml | 16 ++++ 14 files changed, 533 insertions(+) create mode 100644 product_multi_category/README.rst create mode 100644 product_multi_category/__init__.py create mode 100644 product_multi_category/__openerp__.py create mode 100755 product_multi_category/i18n/ca.po create mode 100755 product_multi_category/i18n/es.po create mode 100755 product_multi_category/i18n/fr.po create mode 100755 product_multi_category/i18n/fr_BE.po create mode 100755 product_multi_category/i18n/product_m2mcategories.pot create mode 100755 product_multi_category/i18n/sv.po create mode 100755 product_multi_category/i18n/tr.po create mode 100644 product_multi_category/models/__init__.py create mode 100644 product_multi_category/models/product.py create mode 100644 product_multi_category/static/description/icon.png create mode 100644 product_multi_category/views/product_view.xml diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst new file mode 100644 index 00000000000..fe6afcd1cfc --- /dev/null +++ b/product_multi_category/README.rst @@ -0,0 +1,73 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +========================= +Product - Many Categories +========================= + +This module Extends the existing functionality of Open ERP Products +(One product - One Catgory) to One product -> Many Categories + +*Note: This module was built generically but in focus of the Magento +Open ERP connector +**Note: The additional categories are only for classification and does +not affect other operations + +Usage +===== + +To use this module, you need to: + +* Go to ... + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/135/9.0 + +.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt +.. branch is "8.0" for example + +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 +`_. + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Raphaël Valyi +* Renato Lima +* Sébastien BEAU +* Guewen Baconnier +* Yannick Vaucher +* Sharoon Thomas +* Avanzosc +* SodexisTeam + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/product_multi_category/__init__.py b/product_multi_category/__init__.py new file mode 100644 index 00000000000..ba6ae9b7539 --- /dev/null +++ b/product_multi_category/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/product_multi_category/__openerp__.py b/product_multi_category/__openerp__.py new file mode 100644 index 00000000000..31af5f5210d --- /dev/null +++ b/product_multi_category/__openerp__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Product - Many Categories", + "version": "9.0.1.0.0", + "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," + "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", + "contributors": ["Mikel Arregi "], + "website": "", + "license": "AGPL-3", + "category": "Product Management", + "depends": ['base', 'product'], + "data": [ + 'views/product_view.xml' + ], + 'images': [], + "installable": True, +} diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po new file mode 100755 index 00000000000..73531f5b52d --- /dev/null +++ b/product_multi_category/i18n/ca.po @@ -0,0 +1,65 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_m2mcategories +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.6\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-12-20 17:16+0000\n" +"PO-Revision-Date: 2010-11-17 03:56+0000\n" +"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " +"\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" +"X-Generator: Launchpad (build 16061)\n" +"X-Poedit-Language: Catalan\n" + +#. module: product_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "XML invàlid per a la definició de la vista!" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "Categories de producte" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "Classificació en categories" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "Producte - Moltes categories" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "" +"\n" +" This module Extends the existing functionality of Open ERP Products (One " +"product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento " +"Open ERP connector\n" +" " +msgstr "" +"\n" +" Aquest mòdul estén la funcionalitat existent dels productes a OpenERP " +"(Un producte -> Una categoria)\n" +" a Un producte -> Moltes categories\n" +"\n" +" * Nota: Aquest mòdul ha estat construït de forma genèrica, i s'utilitza " +"al connector OpenERP Magento\n" +" " + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "Categories extra" diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po new file mode 100755 index 00000000000..026cb9017da --- /dev/null +++ b/product_multi_category/i18n/es.po @@ -0,0 +1,64 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_m2mcategories +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.6\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-12-20 17:16+0000\n" +"PO-Revision-Date: 2010-11-17 03:56+0000\n" +"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " +"\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" +"X-Generator: Launchpad (build 16061)\n" + +#. module: product_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "¡XML inválido para la definición de la vista!" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "Categorías de producto" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "Clasificación en categorías" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "Producto - Muchas categorías" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "" +"\n" +" This module Extends the existing functionality of Open ERP Products (One " +"product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento " +"Open ERP connector\n" +" " +msgstr "" +"\n" +" Este módulo extiende la funcionalidad existente de los productos en " +"OpenERP (Un producto -> Una categoría)\n" +" a Un producto -> Muchas categorías\n" +"\n" +" * Nota: Este módulo ha sido construido de forma genérica, y se utiliza " +"en el conector OpenERP Magento\n" +" " + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "Categorías extra" diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po new file mode 100755 index 00000000000..3f43f052d33 --- /dev/null +++ b/product_multi_category/i18n/fr.po @@ -0,0 +1,56 @@ +# French translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-12-20 17:16+0000\n" +"PO-Revision-Date: 2012-01-31 13:13+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" +"X-Generator: Launchpad (build 16061)\n" + +#. module: product_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "" +"\n" +" This module Extends the existing functionality of Open ERP Products (One " +"product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento " +"Open ERP connector\n" +" " +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "" diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po new file mode 100755 index 00000000000..cc760e16c2c --- /dev/null +++ b/product_multi_category/i18n/fr_BE.po @@ -0,0 +1,52 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_m2mcategories +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.6\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-11-25 13:31:57+0000\n" +"PO-Revision-Date: 2009-11-25 13:31:57+0000\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_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "\n" +" This module Extends the existing functionality of Open ERP Products (One product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento Open ERP connector\n" +" " +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "" + diff --git a/product_multi_category/i18n/product_m2mcategories.pot b/product_multi_category/i18n/product_m2mcategories.pot new file mode 100755 index 00000000000..d7603896c1a --- /dev/null +++ b/product_multi_category/i18n/product_m2mcategories.pot @@ -0,0 +1,52 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_m2mcategories +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.6\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-12-20 17:16:57+0000\n" +"PO-Revision-Date: 2009-12-20 17:16:57+0000\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_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "\n" +" This module Extends the existing functionality of Open ERP Products (One product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento Open ERP connector\n" +" " +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "" + diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po new file mode 100755 index 00000000000..e993c981a52 --- /dev/null +++ b/product_multi_category/i18n/sv.po @@ -0,0 +1,55 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * product_m2mcategories +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.14\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2009-12-20 17:16+0000\n" +"PO-Revision-Date: 2010-11-23 02:21+0000\n" +"Last-Translator: Olivier Dony (OpenERP) \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" +"X-Generator: Launchpad (build 16061)\n" + +#. module: product_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "Product - Many Categories" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "" +"\n" +" This module Extends the existing functionality of Open ERP Products (One " +"product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento " +"Open ERP connector\n" +" " +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "" diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po new file mode 100755 index 00000000000..41e88a14477 --- /dev/null +++ b/product_multi_category/i18n/tr.po @@ -0,0 +1,56 @@ +# Turkish translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-12-20 17:16+0000\n" +"PO-Revision-Date: 2011-02-21 08:51+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" +"X-Generator: Launchpad (build 16061)\n" + +#. module: product_m2mcategories +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: product_m2mcategories +#: field:product.template,categ_ids:0 +msgid "Product Categories" +msgstr "Ürün Kategorileri" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Classification Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information +msgid "Product - Many Categories" +msgstr "" + +#. module: product_m2mcategories +#: model:ir.module.module,description:product_m2mcategories.module_meta_information +msgid "" +"\n" +" This module Extends the existing functionality of Open ERP Products (One " +"product - One Catgory)\n" +" to One product -> Many Categories\n" +"\n" +" *Note: This module was built generically but in focus of the Magento " +"Open ERP connector\n" +" " +msgstr "" + +#. module: product_m2mcategories +#: view:product.product:0 +msgid "Extra Categories" +msgstr "" diff --git a/product_multi_category/models/__init__.py b/product_multi_category/models/__init__.py new file mode 100644 index 00000000000..a3c5e2f5ce2 --- /dev/null +++ b/product_multi_category/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import product diff --git a/product_multi_category/models/product.py b/product_multi_category/models/product.py new file mode 100644 index 00000000000..39d231e85ce --- /dev/null +++ b/product_multi_category/models/product.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, fields + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + categ_id = fields.Many2one(string='Pricing/Primary Category') + categ_ids = fields.Many2many( + comodel_name='product.category', relation='product_categ_rel', + column1='product_id', column2='categ_id', string='Extra categories') diff --git a/product_multi_category/static/description/icon.png b/product_multi_category/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 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 z 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 Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/product_multi_category/views/product_view.xml b/product_multi_category/views/product_view.xml new file mode 100644 index 00000000000..51c506ddf05 --- /dev/null +++ b/product_multi_category/views/product_view.xml @@ -0,0 +1,16 @@ + + + + + product.normal.form + product.template + + + + + + + + + + From 56b0418bb14ae7ee40f256d357d6b49cae33cf17 Mon Sep 17 00:00:00 2001 From: Angel Moya Pardo Date: Tue, 21 Mar 2017 08:56:24 +0100 Subject: [PATCH 02/24] MIG 10.0 product_multi_category FIX product_multi_category README.rst --- product_multi_category/README.rst | 24 +++--- .../{__openerp__.py => __manifest__.py} | 5 +- product_multi_category/i18n/de.po | 30 +++++++ product_multi_category/i18n/es.po | 78 ++++++------------- product_multi_category/i18n/fr.po | 75 ++++++------------ product_multi_category/i18n/hr.po | 31 ++++++++ product_multi_category/i18n/nl_NL.po | 30 +++++++ product_multi_category/models/product.py | 2 +- product_multi_category/views/product_view.xml | 2 +- 9 files changed, 151 insertions(+), 126 deletions(-) rename product_multi_category/{__openerp__.py => __manifest__.py} (82%) create mode 100644 product_multi_category/i18n/de.po mode change 100755 => 100644 product_multi_category/i18n/es.po mode change 100755 => 100644 product_multi_category/i18n/fr.po create mode 100644 product_multi_category/i18n/hr.po create mode 100644 product_multi_category/i18n/nl_NL.po diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index fe6afcd1cfc..60854b8603b 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -6,27 +6,20 @@ Product - Many Categories ========================= -This module Extends the existing functionality of Open ERP Products +This module Extends the existing functionality of Odoo Products (One product - One Catgory) to One product -> Many Categories *Note: This module was built generically but in focus of the Magento -Open ERP connector +Odoo connector **Note: The additional categories are only for classification and does not affect other operations Usage ===== -To use this module, you need to: - -* Go to ... - .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/9.0 - -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example + :target: https://runbot.odoo-community.org/runbot/135/10.0 Bug Tracker =========== @@ -34,11 +27,10 @@ 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 -`_. +help us smash it by providing detailed and welcomed feedback. + +Credits +======= Images ------ @@ -55,7 +47,9 @@ Contributors * Yannick Vaucher * Sharoon Thomas * Avanzosc +* Mikel Arregi * SodexisTeam +* Angel Moya Maintainer ---------- diff --git a/product_multi_category/__openerp__.py b/product_multi_category/__manifest__.py similarity index 82% rename from product_multi_category/__openerp__.py rename to product_multi_category/__manifest__.py index 31af5f5210d..703820d5ddb 100644 --- a/product_multi_category/__openerp__.py +++ b/product_multi_category/__manifest__.py @@ -4,10 +4,9 @@ { "name": "Product - Many Categories", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", - "contributors": ["Mikel Arregi "], "website": "", "license": "AGPL-3", "category": "Product Management", @@ -16,5 +15,5 @@ 'views/product_view.xml' ], 'images': [], - "installable": True, + 'installable': True, } diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po new file mode 100644 index 00000000000..4455f60b440 --- /dev/null +++ b/product_multi_category/i18n/de.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_multi_category +# +# Translators: +# Niki Waibel , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: Niki Waibel , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" +msgstr "" + +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "Produktvorlage" diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po old mode 100755 new mode 100644 index 026cb9017da..5eee4137aa5 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -1,64 +1,30 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * product_m2mcategories -# +# * product_multi_category +# +# Translators: +# Pedro M. Baeza , 2017 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 5.0.6\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2009-12-20 17:16+0000\n" -"PO-Revision-Date: 2010-11-17 03:56+0000\n" -"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " -"\n" -"Language-Team: \n" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-05 02:44+0000\n" +"PO-Revision-Date: 2017-05-05 02:44+0000\n" +"Last-Translator: Pedro M. Baeza , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" -"X-Generator: Launchpad (build 16061)\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "¡XML inválido para la definición de la vista!" - -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" -msgstr "Categorías de producto" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "Clasificación en categorías" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "Producto - Muchas categorías" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "" -"\n" -" This module Extends the existing functionality of Open ERP Products (One " -"product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento " -"Open ERP connector\n" -" " +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" msgstr "" -"\n" -" Este módulo extiende la funcionalidad existente de los productos en " -"OpenERP (Un producto -> Una categoría)\n" -" a Un producto -> Muchas categorías\n" -"\n" -" * Nota: Este módulo ha sido construido de forma genérica, y se utiliza " -"en el conector OpenERP Magento\n" -" " -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "Categorías extra" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "Plantilla de producto" diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po old mode 100755 new mode 100644 index 3f43f052d33..980e8db3528 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -1,56 +1,31 @@ -# French translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_multi_category +# +# Translators: +# OCA Transbot , 2017 +# guillaume bauer , 2017 msgid "" msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2009-12-20 17:16+0000\n" -"PO-Revision-Date: 2012-01-31 13:13+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: French \n" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-07-29 02:55+0000\n" +"PO-Revision-Date: 2017-07-29 02:55+0000\n" +"Last-Translator: guillaume bauer , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" -"X-Generator: Launchpad (build 16061)\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "" - -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" -msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" +msgstr "Catégorie secondaire" -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "" -"\n" -" This module Extends the existing functionality of Open ERP Products (One " -"product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento " -"Open ERP connector\n" -" " -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "Modèle de produit" diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po new file mode 100644 index 00000000000..e02997d5976 --- /dev/null +++ b/product_multi_category/i18n/hr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_multi_category +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-07-29 05:48+0000\n" +"PO-Revision-Date: 2017-07-29 05:48+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" +msgstr "Dodatne kategorije" + +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "Predložak proizvoda" diff --git a/product_multi_category/i18n/nl_NL.po b/product_multi_category/i18n/nl_NL.po new file mode 100644 index 00000000000..03eeb7d1f28 --- /dev/null +++ b/product_multi_category/i18n/nl_NL.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_multi_category +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-27 04:44+0000\n" +"PO-Revision-Date: 2017-05-27 04:44+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" +msgstr "" + +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "Productsjabloon" diff --git a/product_multi_category/models/product.py b/product_multi_category/models/product.py index 39d231e85ce..14b7010baaf 100644 --- a/product_multi_category/models/product.py +++ b/product_multi_category/models/product.py @@ -2,7 +2,7 @@ # © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields +from odoo import models, fields class ProductTemplate(models.Model): diff --git a/product_multi_category/views/product_view.xml b/product_multi_category/views/product_view.xml index 51c506ddf05..2f2ed40cc2b 100644 --- a/product_multi_category/views/product_view.xml +++ b/product_multi_category/views/product_view.xml @@ -7,7 +7,7 @@ - + From 09d2b952f719ed7eeb9889abbfec2bc993f453b3 Mon Sep 17 00:00:00 2001 From: Damien Carlier Date: Tue, 10 Oct 2017 21:39:17 +0200 Subject: [PATCH 03/24] [MIG] product_multi_category: Migration to 11.0 --- product_multi_category/README.rst | 6 +++--- product_multi_category/__manifest__.py | 2 +- product_multi_category/views/product_view.xml | 14 ++++++++++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index 60854b8603b..bf5a331d44a 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -9,9 +9,9 @@ Product - Many Categories This module Extends the existing functionality of Odoo Products (One product - One Catgory) to One product -> Many Categories -*Note: This module was built generically but in focus of the Magento +*Note:* This module was built generically but in focus of the Magento Odoo connector -**Note: The additional categories are only for classification and does +*Note 2:* The additional categories are only for classification and does not affect other operations Usage @@ -19,7 +19,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/10.0 + :target: https://runbot.odoo-community.org/runbot/135/11.0 Bug Tracker =========== diff --git a/product_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index 703820d5ddb..cd8ca34cb2b 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Product - Many Categories", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", "website": "", diff --git a/product_multi_category/views/product_view.xml b/product_multi_category/views/product_view.xml index 2f2ed40cc2b..ab0ad7c6426 100644 --- a/product_multi_category/views/product_view.xml +++ b/product_multi_category/views/product_view.xml @@ -3,9 +3,19 @@ product.normal.form + product.product + + + + + + + + + + product.template.only.form product.template - - + From 1a0e9d9708b6120b0b631a8aa9a9fa535fc346c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 15 Jun 2018 23:34:42 +0200 Subject: [PATCH 04/24] remove obsolete .pot files [ci skip] --- product_multi_category/i18n/ca.po | 82 +++++++++---------- product_multi_category/i18n/de.po | 4 +- product_multi_category/i18n/es.po | 4 +- product_multi_category/i18n/fr.po | 4 +- product_multi_category/i18n/fr_BE.po | 44 +++------- product_multi_category/i18n/hr.po | 7 +- product_multi_category/i18n/nl_NL.po | 7 +- .../i18n/product_m2mcategories.pot | 52 ------------ .../i18n/product_multi_category.pot | 26 ++++++ product_multi_category/i18n/sv.po | 47 +++-------- product_multi_category/i18n/tr.po | 48 +++-------- 11 files changed, 113 insertions(+), 212 deletions(-) delete mode 100755 product_multi_category/i18n/product_m2mcategories.pot create mode 100644 product_multi_category/i18n/product_multi_category.pot diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po index 73531f5b52d..ece7972339e 100755 --- a/product_multi_category/i18n/ca.po +++ b/product_multi_category/i18n/ca.po @@ -1,16 +1,17 @@ # Translation of OpenERP Server. # This file contains the translation of the following modules: -# * product_m2mcategories +# * product_m2mcategories # msgid "" msgstr "" "Project-Id-Version: OpenERP Server 5.0.6\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-20 17:16+0000\n" "PO-Revision-Date: 2010-11-17 03:56+0000\n" -"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " -"\n" +"Last-Translator: Jordi Esteve (www.zikzakmedia.com) \n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -18,48 +19,43 @@ msgstr "" "X-Generator: Launchpad (build 16061)\n" "X-Poedit-Language: Catalan\n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "XML invàlid per a la definició de la vista!" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#, fuzzy +msgid "Extra categories" +msgstr "Categories extra" -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +#, fuzzy +msgid "Product Template" msgstr "Categories de producte" -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "Classificació en categories" +#~ msgid "Invalid XML for View Architecture!" +#~ msgstr "XML invàlid per a la definició de la vista!" -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "Producte - Moltes categories" +#~ msgid "Classification Categories" +#~ msgstr "Classificació en categories" -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "" -"\n" -" This module Extends the existing functionality of Open ERP Products (One " -"product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento " -"Open ERP connector\n" -" " -msgstr "" -"\n" -" Aquest mòdul estén la funcionalitat existent dels productes a OpenERP " -"(Un producte -> Una categoria)\n" -" a Un producte -> Moltes categories\n" -"\n" -" * Nota: Aquest mòdul ha estat construït de forma genèrica, i s'utilitza " -"al connector OpenERP Magento\n" -" " +#~ msgid "Product - Many Categories" +#~ msgstr "Producte - Moltes categories" -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "Categories extra" +#~ msgid "" +#~ "\n" +#~ " This module Extends the existing functionality of Open ERP Products " +#~ "(One product - One Catgory)\n" +#~ " to One product -> Many Categories\n" +#~ "\n" +#~ " *Note: This module was built generically but in focus of the Magento " +#~ "Open ERP connector\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Aquest mòdul estén la funcionalitat existent dels productes a OpenERP " +#~ "(Un producte -> Una categoria)\n" +#~ " a Un producte -> Moltes categories\n" +#~ "\n" +#~ " * Nota: Aquest mòdul ha estat construït de forma genèrica, i " +#~ "s'utilitza al connector OpenERP Magento\n" +#~ " " diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po index 4455f60b440..c535d0af4bb 100644 --- a/product_multi_category/i18n/de.po +++ b/product_multi_category/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_multi_category -# +# # Translators: # Niki Waibel , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+0000\n" "Last-Translator: Niki Waibel , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po index 5eee4137aa5..0a81d1c2378 100644 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_multi_category -# +# # Translators: # Pedro M. Baeza , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-05 02:44+0000\n" "Last-Translator: Pedro M. Baeza , 2017\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index 980e8db3528..002e93a7eaa 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_multi_category -# +# # Translators: # OCA Transbot , 2017 # guillaume bauer , 2017 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2017-07-29 02:55+0000\n" "Last-Translator: guillaume bauer , 2017\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: product_multi_category diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po index cc760e16c2c..6742dd5ba36 100755 --- a/product_multi_category/i18n/fr_BE.po +++ b/product_multi_category/i18n/fr_BE.po @@ -1,52 +1,28 @@ # Translation of OpenERP Server. # This file contains the translation of the following modules: -# * product_m2mcategories +# * product_m2mcategories # msgid "" msgstr "" "Project-Id-Version: OpenERP Server 5.0.6\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-11-25 13:31:57+0000\n" "PO-Revision-Date: 2009-11-25 13:31:57+0000\n" "Last-Translator: <>\n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" msgstr "" -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "\n" -" This module Extends the existing functionality of Open ERP Products (One product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento Open ERP connector\n" -" " -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "" - diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po index e02997d5976..c52c91e78e4 100644 --- a/product_multi_category/i18n/hr.po +++ b/product_multi_category/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_multi_category -# +# # Translators: # OCA Transbot , 2017 # Bole , 2017 @@ -13,11 +13,12 @@ msgstr "" "PO-Revision-Date: 2017-07-29 05:48+0000\n" "Last-Translator: Bole , 2017\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids diff --git a/product_multi_category/i18n/nl_NL.po b/product_multi_category/i18n/nl_NL.po index 03eeb7d1f28..2f0fa29b011 100644 --- a/product_multi_category/i18n/nl_NL.po +++ b/product_multi_category/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * product_multi_category -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-27 04:44+0000\n" "PO-Revision-Date: 2017-05-27 04:44+0000\n" "Last-Translator: Peter Hageman , 2017\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_NL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category diff --git a/product_multi_category/i18n/product_m2mcategories.pot b/product_multi_category/i18n/product_m2mcategories.pot deleted file mode 100755 index d7603896c1a..00000000000 --- a/product_multi_category/i18n/product_m2mcategories.pot +++ /dev/null @@ -1,52 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_m2mcategories -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 5.0.6\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2009-12-20 17:16:57+0000\n" -"PO-Revision-Date: 2009-12-20 17:16:57+0000\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_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "" - -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "\n" -" This module Extends the existing functionality of Open ERP Products (One product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento Open ERP connector\n" -" " -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "" - diff --git a/product_multi_category/i18n/product_multi_category.pot b/product_multi_category/i18n/product_multi_category.pot new file mode 100644 index 00000000000..850b39106ea --- /dev/null +++ b/product_multi_category/i18n/product_multi_category.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * product_multi_category +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" +msgstr "" + +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" +msgstr "" + diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po index e993c981a52..4ce2090c11c 100755 --- a/product_multi_category/i18n/sv.po +++ b/product_multi_category/i18n/sv.po @@ -1,55 +1,32 @@ # Translation of OpenERP Server. # This file contains the translation of the following modules: -# * product_m2mcategories +# * product_m2mcategories # msgid "" msgstr "" "Project-Id-Version: OpenERP Server 5.0.14\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-20 17:16+0000\n" "PO-Revision-Date: 2010-11-23 02:21+0000\n" "Last-Translator: Olivier Dony (OpenERP) \n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" "X-Generator: Launchpad (build 16061)\n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +msgid "Extra categories" msgstr "" -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +msgid "Product Template" msgstr "" -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "Product - Many Categories" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "" -"\n" -" This module Extends the existing functionality of Open ERP Products (One " -"product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento " -"Open ERP connector\n" -" " -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "" +#~ msgid "Product - Many Categories" +#~ msgstr "Product - Many Categories" diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po index 41e88a14477..f3e50bdbc48 100755 --- a/product_multi_category/i18n/tr.po +++ b/product_multi_category/i18n/tr.po @@ -6,51 +6,27 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" +"Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-20 17:16+0000\n" "PO-Revision-Date: 2011-02-21 08:51+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Turkish \n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" "X-Generator: Launchpad (build 16061)\n" -#. module: product_m2mcategories -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "" - -#. module: product_m2mcategories -#: field:product.template,categ_ids:0 -msgid "Product Categories" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#, fuzzy +msgid "Extra categories" msgstr "Ürün Kategorileri" -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Classification Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,shortdesc:product_m2mcategories.module_meta_information -msgid "Product - Many Categories" -msgstr "" - -#. module: product_m2mcategories -#: model:ir.module.module,description:product_m2mcategories.module_meta_information -msgid "" -"\n" -" This module Extends the existing functionality of Open ERP Products (One " -"product - One Catgory)\n" -" to One product -> Many Categories\n" -"\n" -" *Note: This module was built generically but in focus of the Magento " -"Open ERP connector\n" -" " -msgstr "" - -#. module: product_m2mcategories -#: view:product.product:0 -msgid "Extra Categories" -msgstr "" +#. module: product_multi_category +#: model:ir.model,name:product_multi_category.model_product_template +#, fuzzy +msgid "Product Template" +msgstr "Ürün Kategorileri" From d6db4df54fff5f0d5aef70fbbcfb40134724545b Mon Sep 17 00:00:00 2001 From: Sudhir Arya Date: Tue, 4 Dec 2018 17:12:51 +0530 Subject: [PATCH 05/24] [MIG] Migrated product_multi_category to v12 --- product_multi_category/README.rst | 3 +- product_multi_category/__init__.py | 4 -- product_multi_category/__manifest__.py | 11 +++-- product_multi_category/models/__init__.py | 4 -- product_multi_category/views/product_view.xml | 48 +++++++++---------- 5 files changed, 32 insertions(+), 38 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index bf5a331d44a..d9c9478086a 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -19,7 +19,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/11.0 + :target: https://runbot.odoo-community.org/runbot/135/12.0 Bug Tracker =========== @@ -50,6 +50,7 @@ Contributors * Mikel Arregi * SodexisTeam * Angel Moya +* Sudhir Arya Maintainer ---------- diff --git a/product_multi_category/__init__.py b/product_multi_category/__init__.py index ba6ae9b7539..0650744f6bc 100644 --- a/product_multi_category/__init__.py +++ b/product_multi_category/__init__.py @@ -1,5 +1 @@ -# -*- coding: utf-8 -*- -# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - from . import models diff --git a/product_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index cd8ca34cb2b..cb33cc8b891 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -4,16 +4,17 @@ { "name": "Product - Many Categories", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", - "website": "", + "website": "https://github.com/OCA/product-attribute", "license": "AGPL-3", "category": "Product Management", - "depends": ['base', 'product'], + "depends": [ + 'base', 'product', + ], "data": [ - 'views/product_view.xml' + 'views/product_view.xml', ], - 'images': [], 'installable': True, } diff --git a/product_multi_category/models/__init__.py b/product_multi_category/models/__init__.py index a3c5e2f5ce2..9649db77a15 100644 --- a/product_multi_category/models/__init__.py +++ b/product_multi_category/models/__init__.py @@ -1,5 +1 @@ -# -*- coding: utf-8 -*- -# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - from . import product diff --git a/product_multi_category/views/product_view.xml b/product_multi_category/views/product_view.xml index ab0ad7c6426..80f125771b5 100644 --- a/product_multi_category/views/product_view.xml +++ b/product_multi_category/views/product_view.xml @@ -1,26 +1,26 @@ - - - - product.normal.form - product.product - - - - - - - + - - product.template.only.form - product.template - - - - - - - - - + + product.normal.form + product.product + + + + + + + + + + product.template.only.form + product.template + + + + + + + + + From 81c7765678e8a3aadb1520ba26cf8526318eed53 Mon Sep 17 00:00:00 2001 From: sudhir-erpharbor Date: Mon, 25 Feb 2019 16:34:42 +0530 Subject: [PATCH 06/24] [ADD] Added Readme. --- product_multi_category/README.rst | 67 ++- product_multi_category/i18n/ca.po | 16 +- product_multi_category/i18n/de.po | 16 +- product_multi_category/i18n/es.po | 16 +- product_multi_category/i18n/fr.po | 16 +- product_multi_category/i18n/fr_BE.po | 16 +- product_multi_category/i18n/hr.po | 16 +- product_multi_category/i18n/nl_NL.po | 16 +- .../i18n/product_multi_category.pot | 18 +- product_multi_category/i18n/sv.po | 16 +- product_multi_category/i18n/tr.po | 16 +- .../readme/CONTRIBUTORS.rst | 11 + product_multi_category/readme/DESCRIPTION.rst | 7 + product_multi_category/readme/USAGE.rst | 3 + .../static/description/index.html | 444 ++++++++++++++++++ 15 files changed, 656 insertions(+), 38 deletions(-) create mode 100644 product_multi_category/readme/CONTRIBUTORS.rst create mode 100644 product_multi_category/readme/DESCRIPTION.rst create mode 100644 product_multi_category/readme/USAGE.rst create mode 100644 product_multi_category/static/description/index.html diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index d9c9478086a..864b95543a4 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ========================= Product - Many Categories ========================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fproduct--attribute-lightgray.png?logo=github + :target: https://github.com/OCA/product-attribute/tree/12.0/product_multi_category + :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-12-0/product-attribute-12-0-product_multi_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/135/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module Extends the existing functionality of Odoo Products (One product - One Catgory) to One product -> Many Categories @@ -14,6 +33,11 @@ Odoo connector *Note 2:* The additional categories are only for classification and does not affect other operations +**Table of contents** + +.. contents:: + :local: + Usage ===== @@ -24,21 +48,28 @@ Usage 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 smash it by providing detailed and welcomed feedback. +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 ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Akretion +* Guewen Baconnier +* Camptocamp +* Avanzosc +* Sharoon Thomas +* Sodexis Contributors ------------- +~~~~~~~~~~~~ * Raphaël Valyi * Renato Lima @@ -52,17 +83,19 @@ Contributors * Angel Moya * Sudhir Arya -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +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_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po index ece7972339e..ad47b1bdd49 100755 --- a/product_multi_category/i18n/ca.po +++ b/product_multi_category/i18n/ca.po @@ -20,18 +20,30 @@ msgstr "" "X-Poedit-Language: Catalan\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy msgid "Extra categories" msgstr "Categories extra" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template #, fuzzy msgid "Product Template" msgstr "Categories de producte" +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" + #~ msgid "Invalid XML for View Architecture!" #~ msgstr "XML invàlid per a la definició de la vista!" diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po index c535d0af4bb..47a680ab094 100644 --- a/product_multi_category/i18n/de.po +++ b/product_multi_category/i18n/de.po @@ -19,12 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Produktvorlage" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po index 0a81d1c2378..04b0f300d5a 100644 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -19,12 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Plantilla de producto" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index 002e93a7eaa..f845b4377de 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -20,12 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "Catégorie secondaire" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Modèle de produit" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po index 6742dd5ba36..a9decc3c9bf 100755 --- a/product_multi_category/i18n/fr_BE.po +++ b/product_multi_category/i18n/fr_BE.po @@ -17,12 +17,24 @@ msgstr "" "Plural-Forms: \n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po index c52c91e78e4..60f1cdc4f7a 100644 --- a/product_multi_category/i18n/hr.po +++ b/product_multi_category/i18n/hr.po @@ -21,12 +21,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "Dodatne kategorije" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Predložak proizvoda" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/nl_NL.po b/product_multi_category/i18n/nl_NL.po index 2f0fa29b011..de7713cdc16 100644 --- a/product_multi_category/i18n/nl_NL.po +++ b/product_multi_category/i18n/nl_NL.po @@ -20,12 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Productsjabloon" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/i18n/product_multi_category.pot b/product_multi_category/i18n/product_multi_category.pot index 850b39106ea..3f929c6243d 100644 --- a/product_multi_category/i18n/product_multi_category.pot +++ b/product_multi_category/i18n/product_multi_category.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,13 +14,25 @@ msgstr "" "Plural-Forms: \n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" + diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po index 4ce2090c11c..8d52a83b3b3 100755 --- a/product_multi_category/i18n/sv.po +++ b/product_multi_category/i18n/sv.po @@ -18,15 +18,27 @@ msgstr "" "X-Generator: Launchpad (build 16061)\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" + #~ msgid "Product - Many Categories" #~ msgstr "Product - Many Categories" diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po index f3e50bdbc48..6e53aab98a6 100755 --- a/product_multi_category/i18n/tr.po +++ b/product_multi_category/i18n/tr.po @@ -19,14 +19,26 @@ msgstr "" "X-Generator: Launchpad (build 16061)\n" #. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product_categ_ids -#: model:ir.model.fields,field_description:product_multi_category.field_product_template_categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy msgid "Extra categories" msgstr "Ürün Kategorileri" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id +msgid "Pricing/Primary Category" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template #, fuzzy msgid "Product Template" msgstr "Ürün Kategorileri" + +#. module: product_multi_category +#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id +#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id +msgid "Select category for the current product" +msgstr "" diff --git a/product_multi_category/readme/CONTRIBUTORS.rst b/product_multi_category/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..140b85e53d5 --- /dev/null +++ b/product_multi_category/readme/CONTRIBUTORS.rst @@ -0,0 +1,11 @@ +* Raphaël Valyi +* Renato Lima +* Sébastien BEAU +* Guewen Baconnier +* Yannick Vaucher +* Sharoon Thomas +* Avanzosc +* Mikel Arregi +* SodexisTeam +* Angel Moya +* Sudhir Arya diff --git a/product_multi_category/readme/DESCRIPTION.rst b/product_multi_category/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..b1c80d069ed --- /dev/null +++ b/product_multi_category/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +This module Extends the existing functionality of Odoo Products +(One product - One Catgory) to One product -> Many Categories + +*Note:* This module was built generically but in focus of the Magento +Odoo connector +*Note 2:* The additional categories are only for classification and does +not affect other operations diff --git a/product_multi_category/readme/USAGE.rst b/product_multi_category/readme/USAGE.rst new file mode 100644 index 00000000000..69a88feb35d --- /dev/null +++ b/product_multi_category/readme/USAGE.rst @@ -0,0 +1,3 @@ +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/135/12.0 diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html new file mode 100644 index 00000000000..46feb573dce --- /dev/null +++ b/product_multi_category/static/description/index.html @@ -0,0 +1,444 @@ + + + + + + +Product - Many Categories + + + +
+

Product - Many Categories

+ + +

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

+

This module Extends the existing functionality of Odoo Products +(One product - One Catgory) to One product -> Many Categories

+

Note: This module was built generically but in focus of the Magento +Odoo connector +Note 2: The additional categories are only for classification and does +not affect other operations

+

Table of contents

+ +
+

Usage

+Try me on Runbot +
+
+

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
  • +
  • Guewen Baconnier
  • +
  • Camptocamp
  • +
  • Avanzosc
  • +
  • Sharoon Thomas
  • +
  • Sodexis
  • +
+
+
+

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.

+

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.

+
+
+
+ + From 93d9b795a40158ac7072f745ca65d8e193ffbb54 Mon Sep 17 00:00:00 2001 From: Xavier Brochard Date: Sun, 24 Nov 2019 00:15:33 +0100 Subject: [PATCH 07/24] typo --- product_multi_category/README.rst | 2 +- product_multi_category/readme/DESCRIPTION.rst | 2 +- product_multi_category/static/description/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index 864b95543a4..c9b0d37a241 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -26,7 +26,7 @@ Product - Many Categories |badge1| |badge2| |badge3| |badge4| |badge5| This module Extends the existing functionality of Odoo Products -(One product - One Catgory) to One product -> Many Categories +(One product - One Category) to One product -> Many Categories *Note:* This module was built generically but in focus of the Magento Odoo connector diff --git a/product_multi_category/readme/DESCRIPTION.rst b/product_multi_category/readme/DESCRIPTION.rst index b1c80d069ed..b34c3dba02b 100644 --- a/product_multi_category/readme/DESCRIPTION.rst +++ b/product_multi_category/readme/DESCRIPTION.rst @@ -1,5 +1,5 @@ This module Extends the existing functionality of Odoo Products -(One product - One Catgory) to One product -> Many Categories +(One product - One Category) to One product -> Many Categories *Note:* This module was built generically but in focus of the Magento Odoo connector diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html index 46feb573dce..1d3261f8465 100644 --- a/product_multi_category/static/description/index.html +++ b/product_multi_category/static/description/index.html @@ -369,7 +369,7 @@

Product - Many Categories

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

This module Extends the existing functionality of Odoo Products -(One product - One Catgory) to One product -> Many Categories

+(One product - One Category) to One product -> Many Categories

Note: This module was built generically but in focus of the Magento Odoo connector Note 2: The additional categories are only for classification and does From 795247dfcaba7ead765c3102c8a8576576418f88 Mon Sep 17 00:00:00 2001 From: ps-tubtim Date: Thu, 19 Dec 2019 16:45:48 +0700 Subject: [PATCH 08/24] [IMP] product_multi_category: black, isort --- product_multi_category/__manifest__.py | 13 ++++--------- product_multi_category/i18n/ca.po | 0 product_multi_category/i18n/fr_BE.po | 0 product_multi_category/i18n/sv.po | 0 product_multi_category/i18n/tr.po | 0 product_multi_category/models/product.py | 13 ++++++++----- 6 files changed, 12 insertions(+), 14 deletions(-) mode change 100755 => 100644 product_multi_category/i18n/ca.po mode change 100755 => 100644 product_multi_category/i18n/fr_BE.po mode change 100755 => 100644 product_multi_category/i18n/sv.po mode change 100755 => 100644 product_multi_category/i18n/tr.po diff --git a/product_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index cb33cc8b891..e7f6fac0944 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -1,20 +1,15 @@ -# -*- coding: utf-8 -*- # © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Product - Many Categories", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", "website": "https://github.com/OCA/product-attribute", "license": "AGPL-3", "category": "Product Management", - "depends": [ - 'base', 'product', - ], - "data": [ - 'views/product_view.xml', - ], - 'installable': True, + "depends": ["base", "product"], + "data": ["views/product_view.xml"], + "installable": True, } diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po old mode 100755 new mode 100644 diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po old mode 100755 new mode 100644 diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po old mode 100755 new mode 100644 diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po old mode 100755 new mode 100644 diff --git a/product_multi_category/models/product.py b/product_multi_category/models/product.py index 14b7010baaf..37e24635ac4 100644 --- a/product_multi_category/models/product.py +++ b/product_multi_category/models/product.py @@ -1,14 +1,17 @@ -# -*- coding: utf-8 -*- # © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import models, fields +from odoo import fields, models class ProductTemplate(models.Model): _inherit = "product.template" - categ_id = fields.Many2one(string='Pricing/Primary Category') + categ_id = fields.Many2one(string="Pricing/Primary Category") categ_ids = fields.Many2many( - comodel_name='product.category', relation='product_categ_rel', - column1='product_id', column2='categ_id', string='Extra categories') + comodel_name="product.category", + relation="product_categ_rel", + column1="product_id", + column2="categ_id", + string="Extra categories", + ) From 4078ae975438fc7cade2bbe959e19f275a20956f Mon Sep 17 00:00:00 2001 From: ps-tubtim Date: Thu, 19 Dec 2019 17:26:49 +0700 Subject: [PATCH 09/24] [MIG] product_multi_category: Migration to 13.0 --- product_multi_category/README.rst | 18 ++++------- product_multi_category/__manifest__.py | 2 +- product_multi_category/i18n/ca.po | 14 +------- product_multi_category/i18n/de.po | 14 +------- product_multi_category/i18n/es.po | 14 +------- product_multi_category/i18n/fr.po | 16 ++-------- product_multi_category/i18n/fr_BE.po | 14 +------- product_multi_category/i18n/hr.po | 16 ++-------- product_multi_category/i18n/nl_NL.po | 14 +------- .../i18n/product_multi_category.pot | 21 +++--------- product_multi_category/i18n/sv.po | 21 +++--------- product_multi_category/i18n/tr.po | 14 +------- product_multi_category/models/product.py | 5 ++- .../readme/CONTRIBUTORS.rst | 1 + product_multi_category/readme/USAGE.rst | 3 -- .../static/description/index.html | 32 ++++++++----------- product_multi_category/views/product_view.xml | 13 +++----- 17 files changed, 49 insertions(+), 183 deletions(-) delete mode 100644 product_multi_category/readme/USAGE.rst diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index c9b0d37a241..254ac709b76 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -14,13 +14,13 @@ Product - Many Categories :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/12.0/product_multi_category + :target: https://github.com/OCA/product-attribute/tree/13.0/product_multi_category :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-12-0/product-attribute-12-0-product_multi_category + :target: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_multi_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/135/12.0 + :target: https://runbot.odoo-community.org/runbot/135/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,20 +38,13 @@ not affect other operations .. contents:: :local: -Usage -===== - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/12.0 - 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -82,6 +75,7 @@ Contributors * SodexisTeam * Angel Moya * Sudhir Arya +* Pimolnat Suntian Maintainers ~~~~~~~~~~~ @@ -96,6 +90,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/product-attribute `_ project on GitHub. +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_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index e7f6fac0944..718f9ba281d 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -1,4 +1,4 @@ -# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# Copyright 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po index ad47b1bdd49..ecd2be7ff88 100644 --- a/product_multi_category/i18n/ca.po +++ b/product_multi_category/i18n/ca.po @@ -23,27 +23,15 @@ msgstr "" #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy -msgid "Extra categories" +msgid "Extra Categories" msgstr "Categories extra" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" -msgstr "" - #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template #, fuzzy msgid "Product Template" msgstr "Categories de producte" -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" - #~ msgid "Invalid XML for View Architecture!" #~ msgstr "XML invàlid per a la definició de la vista!" diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po index 47a680ab094..e64a08b2f57 100644 --- a/product_multi_category/i18n/de.po +++ b/product_multi_category/i18n/de.po @@ -21,22 +21,10 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" +msgid "Extra Categories" msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Produktvorlage" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po index 04b0f300d5a..d540c4b2d73 100644 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -21,22 +21,10 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" +msgid "Extra Categories" msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Plantilla de producto" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index f845b4377de..42138cbcfe4 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -22,22 +22,12 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" +#, fuzzy +#| msgid "Extra categories" +msgid "Extra Categories" msgstr "Catégorie secondaire" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" -msgstr "" - #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Modèle de produit" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po index a9decc3c9bf..5423a776cd8 100644 --- a/product_multi_category/i18n/fr_BE.po +++ b/product_multi_category/i18n/fr_BE.po @@ -19,22 +19,10 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" +msgid "Extra Categories" msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po index 60f1cdc4f7a..0c8cbbebe38 100644 --- a/product_multi_category/i18n/hr.po +++ b/product_multi_category/i18n/hr.po @@ -23,22 +23,12 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" +#, fuzzy +#| msgid "Extra categories" +msgid "Extra Categories" msgstr "Dodatne kategorije" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" -msgstr "" - #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Predložak proizvoda" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/nl_NL.po b/product_multi_category/i18n/nl_NL.po index de7713cdc16..9f51fe7a076 100644 --- a/product_multi_category/i18n/nl_NL.po +++ b/product_multi_category/i18n/nl_NL.po @@ -22,22 +22,10 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" +msgid "Extra Categories" msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "Productsjabloon" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/i18n/product_multi_category.pot b/product_multi_category/i18n/product_multi_category.pot index 3f929c6243d..4bb8317b6dc 100644 --- a/product_multi_category/i18n/product_multi_category.pot +++ b/product_multi_category/i18n/product_multi_category.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * product_multi_category +# * product_multi_category # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -16,23 +16,10 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" +msgid "Extra Categories" msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" - diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po index 8d52a83b3b3..abdc053e086 100644 --- a/product_multi_category/i18n/sv.po +++ b/product_multi_category/i18n/sv.po @@ -20,25 +20,12 @@ msgstr "" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -msgid "Extra categories" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" -msgstr "" +#, fuzzy +#| msgid "Product - Many Categories" +msgid "Extra Categories" +msgstr "Product - Many Categories" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" - -#~ msgid "Product - Many Categories" -#~ msgstr "Product - Many Categories" diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po index 6e53aab98a6..bf261d1d3c3 100644 --- a/product_multi_category/i18n/tr.po +++ b/product_multi_category/i18n/tr.po @@ -22,23 +22,11 @@ msgstr "" #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy -msgid "Extra categories" +msgid "Extra Categories" msgstr "Ürün Kategorileri" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_id -msgid "Pricing/Primary Category" -msgstr "" - #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template #, fuzzy msgid "Product Template" msgstr "Ürün Kategorileri" - -#. module: product_multi_category -#: model:ir.model.fields,help:product_multi_category.field_product_product__categ_id -#: model:ir.model.fields,help:product_multi_category.field_product_template__categ_id -msgid "Select category for the current product" -msgstr "" diff --git a/product_multi_category/models/product.py b/product_multi_category/models/product.py index 37e24635ac4..edc7fba8b3c 100644 --- a/product_multi_category/models/product.py +++ b/product_multi_category/models/product.py @@ -1,4 +1,4 @@ -# © 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis +# Copyright 2009 Akretion,Guewen Baconnier,Camptocamp,Avanzosc,Sharoon Thomas,Sodexis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models @@ -7,11 +7,10 @@ class ProductTemplate(models.Model): _inherit = "product.template" - categ_id = fields.Many2one(string="Pricing/Primary Category") categ_ids = fields.Many2many( comodel_name="product.category", relation="product_categ_rel", column1="product_id", column2="categ_id", - string="Extra categories", + string="Extra Categories", ) diff --git a/product_multi_category/readme/CONTRIBUTORS.rst b/product_multi_category/readme/CONTRIBUTORS.rst index 140b85e53d5..b127e610359 100644 --- a/product_multi_category/readme/CONTRIBUTORS.rst +++ b/product_multi_category/readme/CONTRIBUTORS.rst @@ -9,3 +9,4 @@ * SodexisTeam * Angel Moya * Sudhir Arya +* Pimolnat Suntian diff --git a/product_multi_category/readme/USAGE.rst b/product_multi_category/readme/USAGE.rst deleted file mode 100644 index 69a88feb35d..00000000000 --- a/product_multi_category/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/135/12.0 diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html index 1d3261f8465..13dca11e175 100644 --- a/product_multi_category/static/description/index.html +++ b/product_multi_category/static/description/index.html @@ -367,7 +367,7 @@

Product - Many Categories

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module Extends the existing functionality of Odoo Products (One product - One Category) to One product -> Many Categories

Note: This module was built generically but in focus of the Magento @@ -377,32 +377,27 @@

Product - Many Categories

Table of contents

-
-

Usage

-Try me on Runbot -
-

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 smashing 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

  • Akretion
  • Guewen Baconnier
  • @@ -413,7 +408,7 @@

    Authors

-

Contributors

+

Contributors

-

Maintainers

+

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/product-attribute project on GitHub.

+

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_multi_category/views/product_view.xml b/product_multi_category/views/product_view.xml index 80f125771b5..290bb291473 100644 --- a/product_multi_category/views/product_view.xml +++ b/product_multi_category/views/product_view.xml @@ -1,26 +1,23 @@ - + - product.normal.form product.product - + - + - product.template.only.form product.template - + - + - From 5b63c39a58945a42611da7604f249b3254246f0f Mon Sep 17 00:00:00 2001 From: c2cdidier Date: Wed, 22 Jul 2020 09:06:12 +0000 Subject: [PATCH 10/24] Translated using Weblate (German) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-13.0/product-attribute-13.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_multi_category/de/ --- product_multi_category/i18n/de.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po index e64a08b2f57..b8ecf4b88a3 100644 --- a/product_multi_category/i18n/de.po +++ b/product_multi_category/i18n/de.po @@ -9,20 +9,21 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-05 02:44+0000\n" -"PO-Revision-Date: 2017-05-05 02:44+0000\n" -"Last-Translator: Niki Waibel , 2017\n" +"PO-Revision-Date: 2020-07-22 11:19+0000\n" +"Last-Translator: c2cdidier \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" -msgstr "" +msgstr "Zusätzliche Kategorien" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template From b932682761c5d623ca82ce7145e99187f3ee142e Mon Sep 17 00:00:00 2001 From: c2cdidier Date: Wed, 22 Jul 2020 09:06:34 +0000 Subject: [PATCH 11/24] Translated using Weblate (French) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-13.0/product-attribute-13.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_multi_category/fr/ --- product_multi_category/i18n/fr.po | 11 +++++------ product_multi_category/i18n/hr.po | 1 - product_multi_category/i18n/sv.po | 1 - 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index 42138cbcfe4..8904669bab6 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -10,22 +10,21 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-29 02:55+0000\n" -"PO-Revision-Date: 2017-07-29 02:55+0000\n" -"Last-Translator: guillaume bauer , 2017\n" +"PO-Revision-Date: 2020-07-22 11:19+0000\n" +"Last-Translator: c2cdidier \n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "Language: fr\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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -#, fuzzy -#| msgid "Extra categories" msgid "Extra Categories" -msgstr "Catégorie secondaire" +msgstr "Catégorie supplémentaires" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po index 0c8cbbebe38..24371bb1f08 100644 --- a/product_multi_category/i18n/hr.po +++ b/product_multi_category/i18n/hr.po @@ -24,7 +24,6 @@ msgstr "" #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy -#| msgid "Extra categories" msgid "Extra Categories" msgstr "Dodatne kategorije" diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po index abdc053e086..765adbc9ba2 100644 --- a/product_multi_category/i18n/sv.po +++ b/product_multi_category/i18n/sv.po @@ -21,7 +21,6 @@ msgstr "" #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids #, fuzzy -#| msgid "Product - Many Categories" msgid "Extra Categories" msgstr "Product - Many Categories" From b314146ea7d2cdcd1ee5f2249f5190d0251b413c Mon Sep 17 00:00:00 2001 From: watthanun Date: Mon, 16 Nov 2020 15:46:26 +0700 Subject: [PATCH 12/24] [MIG] product_multi_category: Migration to 14.0 --- product_multi_category/README.rst | 11 ++++++----- product_multi_category/__manifest__.py | 2 +- .../i18n/product_multi_category.pot | 17 ++++++++++++++++- product_multi_category/readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 7 ++++--- 5 files changed, 28 insertions(+), 10 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index 254ac709b76..92f4bfcb41d 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -14,13 +14,13 @@ Product - Many Categories :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/13.0/product_multi_category + :target: https://github.com/OCA/product-attribute/tree/14.0/product_multi_category :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-13-0/product-attribute-13-0-product_multi_category + :target: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_multi_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/135/13.0 + :target: https://runbot.odoo-community.org/runbot/135/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -44,7 +44,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -76,6 +76,7 @@ Contributors * Angel Moya * Sudhir Arya * Pimolnat Suntian +* Watthanun Khorchai Maintainers ~~~~~~~~~~~ @@ -90,6 +91,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/product-attribute `_ project on GitHub. +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_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index 718f9ba281d..ed14576b803 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Product - Many Categories", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", "website": "https://github.com/OCA/product-attribute", diff --git a/product_multi_category/i18n/product_multi_category.pot b/product_multi_category/i18n/product_multi_category.pot index 4bb8317b6dc..bfcbbc6d430 100644 --- a/product_multi_category/i18n/product_multi_category.pot +++ b/product_multi_category/i18n/product_multi_category.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -13,12 +13,27 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__display_name +msgid "Display Name" +msgstr "" + #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" msgstr "" +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_template__id +msgid "ID" +msgstr "" + +#. module: product_multi_category +#: model:ir.model.fields,field_description:product_multi_category.field_product_template____last_update +msgid "Last Modified on" +msgstr "" + #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" diff --git a/product_multi_category/readme/CONTRIBUTORS.rst b/product_multi_category/readme/CONTRIBUTORS.rst index b127e610359..add071ae969 100644 --- a/product_multi_category/readme/CONTRIBUTORS.rst +++ b/product_multi_category/readme/CONTRIBUTORS.rst @@ -10,3 +10,4 @@ * Angel Moya * Sudhir Arya * Pimolnat Suntian +* Watthanun Khorchai diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html index 13dca11e175..3819135e28d 100644 --- a/product_multi_category/static/description/index.html +++ b/product_multi_category/static/description/index.html @@ -367,7 +367,7 @@

Product - Many Categories

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module Extends the existing functionality of Odoo Products (One product - One Category) to One product -> Many Categories

Note: This module was built generically but in focus of the Magento @@ -391,7 +391,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 smashing it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -422,6 +422,7 @@

Contributors

  • Angel Moya <angel.moya@pesol.es>
  • Sudhir Arya <sudhir@erpharbor.com>
  • Pimolnat Suntian <pimolnats@ecosoft.co.th>
  • +
  • Watthanun Khorchai <watthanun_t@hotmail.com>
  • @@ -431,7 +432,7 @@

    Maintainers

    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/product-attribute project on GitHub.

    +

    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.

    From bc5c521b95f877d67a1ef4fd13d638d3adf4cab4 Mon Sep 17 00:00:00 2001 From: Yves Le Doeuff Date: Thu, 18 Feb 2021 09:28:46 +0000 Subject: [PATCH 13/24] Translated using Weblate (French) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_multi_category/fr_BE/ --- product_multi_category/i18n/fr_BE.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po index 5423a776cd8..79346849af5 100644 --- a/product_multi_category/i18n/fr_BE.po +++ b/product_multi_category/i18n/fr_BE.po @@ -7,22 +7,23 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-11-25 13:31:57+0000\n" -"PO-Revision-Date: 2009-11-25 13:31:57+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2021-02-18 11:45+0000\n" +"Last-Translator: Yves Le Doeuff \n" "Language-Team: \n" -"Language: \n" +"Language: fr_BE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" -msgstr "" +msgstr "Catégories supplémentaires" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product Template" -msgstr "" +msgstr "Modèle d'article" From c9a54ffa18ae471c4a537d259f43ce8f6483b283 Mon Sep 17 00:00:00 2001 From: "Denis Roussel (ACSONE)" Date: Fri, 2 Jul 2021 11:39:38 +0000 Subject: [PATCH 14/24] Translated using Weblate (French) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_multi_category/fr/ --- product_multi_category/i18n/fr.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index 8904669bab6..b92493d9eb6 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -10,21 +10,21 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-29 02:55+0000\n" -"PO-Revision-Date: 2020-07-22 11:19+0000\n" -"Last-Translator: c2cdidier \n" +"PO-Revision-Date: 2021-07-02 13:48+0000\n" +"Last-Translator: Denis Roussel (ACSONE) \n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "Language: fr\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 3.10\n" +"X-Generator: Weblate 4.3.2\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" -msgstr "Catégorie supplémentaires" +msgstr "Catégories supplémentaires" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template From 96d56322871a0a0fa24f89606c754e810cdc1e76 Mon Sep 17 00:00:00 2001 From: Noel estudillo Date: Tue, 22 Mar 2022 11:01:07 +0000 Subject: [PATCH 15/24] Translated using Weblate (Catalan) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_multi_category/ca/ --- product_multi_category/i18n/ca.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po index ecd2be7ff88..876a28c8a31 100644 --- a/product_multi_category/i18n/ca.po +++ b/product_multi_category/i18n/ca.po @@ -7,28 +7,26 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-12-20 17:16+0000\n" -"PO-Revision-Date: 2010-11-17 03:56+0000\n" -"Last-Translator: Jordi Esteve (www.zikzakmedia.com) \n" +"PO-Revision-Date: 2022-03-22 13:17+0000\n" +"Last-Translator: Noel estudillo \n" "Language-Team: \n" -"Language: \n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" "X-Launchpad-Export-Date: 2012-10-03 05:22+0000\n" -"X-Generator: Launchpad (build 16061)\n" "X-Poedit-Language: Catalan\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids -#, fuzzy msgid "Extra Categories" msgstr "Categories extra" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -#, fuzzy msgid "Product Template" msgstr "Categories de producte" From 62adf2df2910b0e7f83a9d994ea6eaf61066c527 Mon Sep 17 00:00:00 2001 From: Maxime Franco Date: Tue, 11 Oct 2022 10:39:57 +0200 Subject: [PATCH 16/24] [MIG] product_multi_category: Migration to 16.0 --- product_multi_category/README.rst | 10 +++++----- product_multi_category/__manifest__.py | 2 +- .../i18n/product_multi_category.pot | 19 ++----------------- .../static/description/index.html | 6 +++--- 4 files changed, 11 insertions(+), 26 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index 92f4bfcb41d..c3b819bf3d3 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -14,13 +14,13 @@ Product - Many Categories :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/14.0/product_multi_category + :target: https://github.com/OCA/product-attribute/tree/16.0/product_multi_category :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-14-0/product-attribute-14-0-product_multi_category + :target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_multi_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/135/14.0 + :target: https://runbot.odoo-community.org/runbot/135/16.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -44,7 +44,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -91,6 +91,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/product-attribute `_ project on GitHub. +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_multi_category/__manifest__.py b/product_multi_category/__manifest__.py index ed14576b803..79f9fe54ac7 100644 --- a/product_multi_category/__manifest__.py +++ b/product_multi_category/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Product - Many Categories", - "version": "14.0.1.0.0", + "version": "16.0.1.0.0", "author": "Akretion,Guewen Baconnier,Camptocamp,Avanzosc," "Sharoon Thomas,Sodexis,Odoo Community Association (OCA)", "website": "https://github.com/OCA/product-attribute", diff --git a/product_multi_category/i18n/product_multi_category.pot b/product_multi_category/i18n/product_multi_category.pot index bfcbbc6d430..e91a1056217 100644 --- a/product_multi_category/i18n/product_multi_category.pot +++ b/product_multi_category/i18n/product_multi_category.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -13,28 +13,13 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__display_name -msgid "Display Name" -msgstr "" - #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" msgstr "" -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_template__id -msgid "ID" -msgstr "" - -#. module: product_multi_category -#: model:ir.model.fields,field_description:product_multi_category.field_product_template____last_update -msgid "Last Modified on" -msgstr "" - #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" +msgid "Product" msgstr "" diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html index 3819135e28d..48b7cd1a553 100644 --- a/product_multi_category/static/description/index.html +++ b/product_multi_category/static/description/index.html @@ -367,7 +367,7 @@

    Product - Many Categories

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

    +

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

    This module Extends the existing functionality of Odoo Products (One product - One Category) to One product -> Many Categories

    Note: This module was built generically but in focus of the Magento @@ -391,7 +391,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 smashing it by providing a detailed and welcomed -feedback.

    +feedback.

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

    @@ -432,7 +432,7 @@

    Maintainers

    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/product-attribute project on GitHub.

    +

    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.

    From 7cb28a2768860d6482dbb9cba365861f4e15edba Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 17 Oct 2022 15:24:09 +0000 Subject: [PATCH 17/24] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_multi_category/ --- product_multi_category/i18n/ca.po | 7 +++++-- product_multi_category/i18n/de.po | 7 +++++-- product_multi_category/i18n/es.po | 7 +++++-- product_multi_category/i18n/fr.po | 7 +++++-- product_multi_category/i18n/fr_BE.po | 7 +++++-- product_multi_category/i18n/hr.po | 7 +++++-- product_multi_category/i18n/nl_NL.po | 7 +++++-- product_multi_category/i18n/sv.po | 2 +- product_multi_category/i18n/tr.po | 7 +++++-- 9 files changed, 41 insertions(+), 17 deletions(-) diff --git a/product_multi_category/i18n/ca.po b/product_multi_category/i18n/ca.po index 876a28c8a31..96330389eff 100644 --- a/product_multi_category/i18n/ca.po +++ b/product_multi_category/i18n/ca.po @@ -27,8 +27,11 @@ msgstr "Categories extra" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Categories de producte" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Categories de producte" #~ msgid "Invalid XML for View Architecture!" #~ msgstr "XML invàlid per a la definició de la vista!" diff --git a/product_multi_category/i18n/de.po b/product_multi_category/i18n/de.po index b8ecf4b88a3..e855fc6cb77 100644 --- a/product_multi_category/i18n/de.po +++ b/product_multi_category/i18n/de.po @@ -27,5 +27,8 @@ msgstr "Zusätzliche Kategorien" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Produktvorlage" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Produktvorlage" diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po index d540c4b2d73..6470efdae67 100644 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -26,5 +26,8 @@ msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Plantilla de producto" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Plantilla de producto" diff --git a/product_multi_category/i18n/fr.po b/product_multi_category/i18n/fr.po index b92493d9eb6..ad377caf16d 100644 --- a/product_multi_category/i18n/fr.po +++ b/product_multi_category/i18n/fr.po @@ -28,5 +28,8 @@ msgstr "Catégories supplémentaires" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Modèle de produit" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Modèle de produit" diff --git a/product_multi_category/i18n/fr_BE.po b/product_multi_category/i18n/fr_BE.po index 79346849af5..5cbbb77d655 100644 --- a/product_multi_category/i18n/fr_BE.po +++ b/product_multi_category/i18n/fr_BE.po @@ -25,5 +25,8 @@ msgstr "Catégories supplémentaires" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Modèle d'article" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Modèle d'article" diff --git a/product_multi_category/i18n/hr.po b/product_multi_category/i18n/hr.po index 24371bb1f08..170f68c1865 100644 --- a/product_multi_category/i18n/hr.po +++ b/product_multi_category/i18n/hr.po @@ -29,5 +29,8 @@ msgstr "Dodatne kategorije" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Predložak proizvoda" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Predložak proizvoda" diff --git a/product_multi_category/i18n/nl_NL.po b/product_multi_category/i18n/nl_NL.po index 9f51fe7a076..fb3e858388f 100644 --- a/product_multi_category/i18n/nl_NL.po +++ b/product_multi_category/i18n/nl_NL.po @@ -27,5 +27,8 @@ msgstr "" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" -msgstr "Productsjabloon" +msgid "Product" +msgstr "" + +#~ msgid "Product Template" +#~ msgstr "Productsjabloon" diff --git a/product_multi_category/i18n/sv.po b/product_multi_category/i18n/sv.po index 765adbc9ba2..384b32fb705 100644 --- a/product_multi_category/i18n/sv.po +++ b/product_multi_category/i18n/sv.po @@ -26,5 +26,5 @@ msgstr "Product - Many Categories" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template -msgid "Product Template" +msgid "Product" msgstr "" diff --git a/product_multi_category/i18n/tr.po b/product_multi_category/i18n/tr.po index bf261d1d3c3..ec55e33de5e 100644 --- a/product_multi_category/i18n/tr.po +++ b/product_multi_category/i18n/tr.po @@ -27,6 +27,9 @@ msgstr "Ürün Kategorileri" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template +msgid "Product" +msgstr "" + #, fuzzy -msgid "Product Template" -msgstr "Ürün Kategorileri" +#~ msgid "Product Template" +#~ msgstr "Ürün Kategorileri" From fab1c616d7fb4edff4979ddc0cd64233278038b7 Mon Sep 17 00:00:00 2001 From: Ivorra78 Date: Tue, 22 Aug 2023 18:25:52 +0000 Subject: [PATCH 18/24] Translated using Weblate (Spanish) Currently translated at 100.0% (2 of 2 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_multi_category Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_multi_category/es/ --- product_multi_category/README.rst | 15 ++++---- product_multi_category/i18n/es.po | 11 +++--- .../static/description/index.html | 34 ++++++++++--------- 3 files changed, 33 insertions(+), 27 deletions(-) diff --git a/product_multi_category/README.rst b/product_multi_category/README.rst index c3b819bf3d3..64d9da4ed27 100644 --- a/product_multi_category/README.rst +++ b/product_multi_category/README.rst @@ -2,10 +2,13 @@ Product - Many Categories ========================= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:cc3960a2dcda38e8e2692c0f605b6dbe0d69e9fc1946a75d7d09cd1fe478226f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -19,11 +22,11 @@ Product - Many Categories .. |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_multi_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/135/16.0 - :alt: Try me on Runbot +.. |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| +|badge1| |badge2| |badge3| |badge4| |badge5| This module Extends the existing functionality of Odoo Products (One product - One Category) to One product -> Many Categories @@ -43,7 +46,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 smashing it by providing a detailed and welcomed +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. diff --git a/product_multi_category/i18n/es.po b/product_multi_category/i18n/es.po index 6470efdae67..a4c67f589e6 100644 --- a/product_multi_category/i18n/es.po +++ b/product_multi_category/i18n/es.po @@ -9,25 +9,26 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-05 02:44+0000\n" -"PO-Revision-Date: 2017-05-05 02:44+0000\n" -"Last-Translator: Pedro M. Baeza , 2017\n" +"PO-Revision-Date: 2023-08-29 08:30+0000\n" +"Last-Translator: Ivorra78 \n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" #. module: product_multi_category #: model:ir.model.fields,field_description:product_multi_category.field_product_product__categ_ids #: model:ir.model.fields,field_description:product_multi_category.field_product_template__categ_ids msgid "Extra Categories" -msgstr "" +msgstr "Categorías extra" #. module: product_multi_category #: model:ir.model,name:product_multi_category.model_product_template msgid "Product" -msgstr "" +msgstr "Producto" #~ msgid "Product Template" #~ msgstr "Plantilla de producto" diff --git a/product_multi_category/static/description/index.html b/product_multi_category/static/description/index.html index 48b7cd1a553..ae3db753739 100644 --- a/product_multi_category/static/description/index.html +++ b/product_multi_category/static/description/index.html @@ -1,20 +1,20 @@ - + - + Product - Many Categories -
    -

    Product - Many Categories

    +
    + + +Odoo Community Association + +
    +

    Product - Many Categories

    -

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

    +

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

    This module Extends the existing functionality of Odoo Products (One product - One Category) to One product -> Many Categories

    Note: This module was built generically but in focus of the Magento @@ -388,17 +393,17 @@

    Product - Many Categories

    -

    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

    • Akretion
    • Guewen Baconnier
    • @@ -409,7 +414,7 @@

      Authors

    -

    Contributors

    +

    Contributors

    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -435,10 +440,11 @@

    Maintainers

    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/product-attribute project on GitHub.

    +

    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.

    +
    From e99a05869a8016d948859e6fca90f163d7125521 Mon Sep 17 00:00:00 2001 From: Ruchir Shukla Date: Mon, 12 Jan 2026 11:11:47 +0530 Subject: [PATCH 24/24] [IMP] product_multi_category: Added test cases --- product_multi_category/tests/__init__.py | 1 + .../tests/test_product_multi_category.py | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 product_multi_category/tests/__init__.py create mode 100644 product_multi_category/tests/test_product_multi_category.py diff --git a/product_multi_category/tests/__init__.py b/product_multi_category/tests/__init__.py new file mode 100644 index 00000000000..33f55be9fc8 --- /dev/null +++ b/product_multi_category/tests/__init__.py @@ -0,0 +1 @@ +from . import test_product_multi_category diff --git a/product_multi_category/tests/test_product_multi_category.py b/product_multi_category/tests/test_product_multi_category.py new file mode 100644 index 00000000000..dd6b5e6278c --- /dev/null +++ b/product_multi_category/tests/test_product_multi_category.py @@ -0,0 +1,70 @@ +from odoo.fields import Command +from odoo.tests.common import TransactionCase + + +class TestProductMultiCategory(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + ProductTemplate = cls.env["product.template"] + ProductCategory = cls.env["product.category"] + + # Create default and classification categories + cls.default_category = ProductCategory.create({"name": "Default Category"}) + cls.classification_category_1 = ProductCategory.create( + {"name": "Classification Category 1"} + ) + cls.classification_category_2 = ProductCategory.create( + {"name": "Classification Category 2"} + ) + + # Create a product with the default category + cls.product = ProductTemplate.create( + { + "name": "Multi-Category Test Product", + "categ_id": cls.default_category.id, + } + ) + + def _assign_classification_categories(self): + """Assign additional classification categories to the product""" + self.product.categ_ids = [ + Command.set( + [ + self.classification_category_1.id, + self.classification_category_2.id, + ] + ) + ] + + def test_assign_classification_categories(self): + """Test that both classification categories can be + assigned to a product.""" + self._assign_classification_categories() + self.assertEqual( + self.product.categ_ids, + self.classification_category_1 | self.classification_category_2, + "Product should have both classification categories assigned", + ) + + def test_remove_classification_category(self): + """Test removing one classification category + without affecting the other.""" + self._assign_classification_categories() + self.product.categ_ids = [Command.unlink(self.classification_category_1.id)] + self.assertEqual( + self.product.categ_ids, + self.classification_category_2, + "Product should have only the remaining classification category", + ) + + def test_default_category_unchanged(self): + """Ensure that the default category remains unchanged after + assigning classification categories.""" + self._assign_classification_categories() + self.assertEqual( + self.product.categ_id, + self.default_category, + "Default category should remain unchanged", + )