From 436b587797f32599e5844561d2c35a8253865551 Mon Sep 17 00:00:00 2001 From: hda Date: Wed, 30 Nov 2022 14:41:40 +0100 Subject: [PATCH] [MIG] product_total_weight_from_packaging: Migration to 16.0 --- .../__manifest__.py | 2 +- .../i18n/es.po | 22 ------------------- .../product_total_weight_from_packaging.pot | 21 ++++-------------- .../readme/CONTRIBUTORS.rst | 1 + ...est_product_total_weight_from_packaging.py | 4 ++-- 5 files changed, 8 insertions(+), 42 deletions(-) delete mode 100644 product_total_weight_from_packaging/i18n/es.po diff --git a/product_total_weight_from_packaging/__manifest__.py b/product_total_weight_from_packaging/__manifest__.py index 7c02f752860..9f6dd6eae78 100644 --- a/product_total_weight_from_packaging/__manifest__.py +++ b/product_total_weight_from_packaging/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Product Total Weight From Packaging", "summary": "Compute estimated weight based on product's packaging weights", - "version": "14.0.1.1.1", + "version": "16.0.1.0.0", "development_status": "Beta", "category": "Warehouse Management", "website": "https://github.com/OCA/product-attribute", diff --git a/product_total_weight_from_packaging/i18n/es.po b/product_total_weight_from_packaging/i18n/es.po deleted file mode 100644 index 01326afe660..00000000000 --- a/product_total_weight_from_packaging/i18n/es.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_total_weight_from_packaging -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-10-14 14:08+0000\n" -"Last-Translator: claudiagn \n" -"Language-Team: none\n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10\n" - -#. module: product_total_weight_from_packaging -#: model:ir.model,name:product_total_weight_from_packaging.model_product_product -msgid "Product" -msgstr "Producto" diff --git a/product_total_weight_from_packaging/i18n/product_total_weight_from_packaging.pot b/product_total_weight_from_packaging/i18n/product_total_weight_from_packaging.pot index 23f3a3693c2..cd95c8073b7 100644 --- a/product_total_weight_from_packaging/i18n/product_total_weight_from_packaging.pot +++ b/product_total_weight_from_packaging/i18n/product_total_weight_from_packaging.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-30 15:44+0000\n" +"PO-Revision-Date: 2022-11-30 15:44+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -13,22 +15,7 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: product_total_weight_from_packaging -#: model:ir.model.fields,field_description:product_total_weight_from_packaging.field_product_product__display_name -msgid "Display Name" -msgstr "" - -#. module: product_total_weight_from_packaging -#: model:ir.model.fields,field_description:product_total_weight_from_packaging.field_product_product__id -msgid "ID" -msgstr "" - -#. module: product_total_weight_from_packaging -#: model:ir.model.fields,field_description:product_total_weight_from_packaging.field_product_product____last_update -msgid "Last Modified on" -msgstr "" - #. module: product_total_weight_from_packaging #: model:ir.model,name:product_total_weight_from_packaging.model_product_product -msgid "Product" +msgid "Product Variant" msgstr "" diff --git a/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst b/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst index e31e2f0c4fc..d288b67ff7f 100644 --- a/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst +++ b/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst @@ -1 +1,2 @@ * Akim Juillerat +* Hughes Damry diff --git a/product_total_weight_from_packaging/tests/test_product_total_weight_from_packaging.py b/product_total_weight_from_packaging/tests/test_product_total_weight_from_packaging.py index 8550f1097a4..4f16e695ed8 100644 --- a/product_total_weight_from_packaging/tests/test_product_total_weight_from_packaging.py +++ b/product_total_weight_from_packaging/tests/test_product_total_weight_from_packaging.py @@ -1,9 +1,9 @@ # Copyright 2020 Camptocamp SA # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) -from odoo.tests import SavepointCase +from odoo.tests import TransactionCase -class TestProductTotalWeightFromPackaging(SavepointCase): +class TestProductTotalWeightFromPackaging(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass()