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 1afa53d99fa..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 @@ -6,6 +6,8 @@ msgid "" msgstr "" "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" diff --git a/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst b/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst index 3dcec14ca33..90ef3970916 100644 --- a/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst +++ b/product_total_weight_from_packaging/readme/CONTRIBUTORS.rst @@ -1,2 +1,3 @@ * Akim Juillerat +* Hughes Damry * Duong (Tran Quoc) diff --git a/product_total_weight_from_packaging/readme/DESCRIPTION.rst b/product_total_weight_from_packaging/readme/DESCRIPTION.rst index 681bd0038d6..9b5baa8aba9 100644 --- a/product_total_weight_from_packaging/readme/DESCRIPTION.rst +++ b/product_total_weight_from_packaging/readme/DESCRIPTION.rst @@ -4,3 +4,11 @@ taking into account the product packaging's weights and return the weight in the It uses the module `stock_packaging_calculator` to get weight from product packagings having a weight defined first and fallback on product weight field if no weight is defined on any of the packaging. + +.. warning:: + + This module is lacking the weight uom conversions as it depends on + *product_packaging_dimension* that depends on *product_logistics_uom* + that allows to set a uom on the weight. + + **The sum in this module is assuming all weights are in kg**. 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 243b742f842..711a75b448b 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 common +from odoo.tests import TransactionCase -class TestProductTotalWeightFromPackaging(common.TransactionCase): +class TestProductTotalWeightFromPackaging(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass()