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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Hughes Damry <hughes.damry@acsone.eu>
* Duong (Tran Quoc) <duongtq@trobz.com>
8 changes: 8 additions & 0 deletions product_total_weight_from_packaging/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Original file line number Diff line number Diff line change
@@ -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()
Expand Down