Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG][16.0] product total weight from packaging #1221

Merged
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 <[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
Loading