diff --git a/README.md b/README.md index 7cdfec7f28d..d1dc6d184db 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ addon | version | maintainers | summary [product_barcode_required](product_barcode_required/) | 18.0.1.0.0 | simahawk | Make product barcode required when enabled [product_catalog_stock](product_catalog_stock/) | 18.0.1.0.1 | | Use the product catalog on stock pickings [product_category_active](product_category_active/) | 18.0.1.0.0 | | Add option to archive product categories -[product_category_code](product_category_code/) | 18.0.1.0.0 | rousseldenis | Allows to define a code on product categories +[product_category_code](product_category_code/) | 18.0.1.0.1 | rousseldenis | Allows to define a code on product categories [product_category_name_translatable](product_category_name_translatable/) | 18.0.1.0.0 | | Translate Product Category Names [product_category_product_link](product_category_product_link/) | 18.0.1.0.0 | | Allows to get products from a category [product_category_tag](product_category_tag/) | 18.0.1.0.0 | ppyczko | Add tags to product categories diff --git a/product_abc_classification_sale_stock/i18n/it.po b/product_abc_classification_sale_stock/i18n/it.po index 71c0266d39b..0702e72c6d3 100644 --- a/product_abc_classification_sale_stock/i18n/it.po +++ b/product_abc_classification_sale_stock/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-03-29 00:41+0000\n" +"PO-Revision-Date: 2026-07-28 08:46+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.15.2\n" #. module: product_abc_classification_sale_stock #: model:ir.model,name:product_abc_classification_sale_stock.model_abc_classification_product_level @@ -236,4 +236,4 @@ msgstr "Magazzino" #: code:addons/product_abc_classification_sale_stock/models/abc_classification_profile.py:0 #, python-format msgid "You must specify a warehouse for {profile_name}" -msgstr "Bisogna specificare un macaggino per {profile_name}" +msgstr "Bisogna specificare un magazzino per {profile_name}" diff --git a/product_category_code/README.rst b/product_category_code/README.rst index 0289c9aae70..6267775d07e 100644 --- a/product_category_code/README.rst +++ b/product_category_code/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ===================== Product Category Code ===================== @@ -7,13 +11,13 @@ Product Category Code !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:52a45170e311e55b6085a514831b676dc7c46a8bd05b14d70720b7203f26dca0 + !! source digest: sha256:1bfcb0f51a9728b53f368bfe766af2a405628e5f9df9c14d415d57788e485f6a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |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 +.. |badge2| image:: https://img.shields.io/badge/license-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 diff --git a/product_category_code/__manifest__.py b/product_category_code/__manifest__.py index c1ffa5a27f0..5bb1b5f2153 100644 --- a/product_category_code/__manifest__.py +++ b/product_category_code/__manifest__.py @@ -5,7 +5,7 @@ "name": "Product Category Code", "summary": """ Allows to define a code on product categories""", - "version": "18.0.1.0.0", + "version": "18.0.1.0.1", "license": "AGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "maintainers": ["rousseldenis"], diff --git a/product_category_code/models/product_category.py b/product_category_code/models/product_category.py index 3b8a21193cb..32de1085c58 100644 --- a/product_category_code/models/product_category.py +++ b/product_category_code/models/product_category.py @@ -1,7 +1,7 @@ # Copyright 2021 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import _, api, fields, models +from odoo import _, fields, models class ProductCategory(models.Model): @@ -12,7 +12,6 @@ class ProductCategory(models.Model): index=True, ) - @api.returns("self", lambda value: value.id) def copy(self, default=None): default = default or {} default.setdefault("code", self.code + _("-copy")) diff --git a/product_category_code/static/description/index.html b/product_category_code/static/description/index.html index 088dc841d61..35883771e43 100644 --- a/product_category_code/static/description/index.html +++ b/product_category_code/static/description/index.html @@ -3,7 +3,7 @@ -Product Category Code +README.rst -
-

Product Category Code

+
+ + +Odoo Community Association + +
+

Product Category Code

-

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 adds a field ‘code’ on product category level.

Table of contents

@@ -384,7 +389,7 @@

Product Category Code

-

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 @@ -392,21 +397,21 @@

Bug Tracker

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

+