Skip to content

Commit

Permalink
Merge PR #1221 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed Dec 22, 2023
2 parents 5daeff9 + 637765a commit 9c464c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
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 <[email protected]>
* Hughes Damry <[email protected]>
* Duong (Tran Quoc) <[email protected]>
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

0 comments on commit 9c464c6

Please sign in to comment.