Skip to content

Commit 13f532d

Browse files
committed
[MIG] product_total_weight_from_packaging: Migration to 18.0
1 parent 3b9ae85 commit 13f532d

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-9
lines changed

product_total_weight_from_packaging/README.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,15 @@ Contributors
7373
- Akim Juillerat <[email protected]>
7474
- Hughes Damry <[email protected]>
7575
- Duong (Tran Quoc) <[email protected]>
76+
- Khoi (Kien Kim) <[email protected]>
7677

7778
Other credits
7879
-------------
7980

80-
The migration of this module from 16.0 to 17.0 was financially supported
81-
by Camptocamp
81+
The migration of this module from 17.0 to 18.0 was financially supported
82+
by:
83+
84+
- Camptocamp
8285

8386
Maintainers
8487
-----------

product_total_weight_from_packaging/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Product Total Weight From Packaging",
55
"summary": "Compute estimated weight based on product's packaging weights",
6-
"version": "17.0.1.0.0",
6+
"version": "18.0.1.0.0",
77
"development_status": "Beta",
88
"category": "Warehouse Management",
99
"website": "https://github.com/OCA/product-attribute",
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- Akim Juillerat \<<[email protected]>\>
22
- Hughes Damry \<<[email protected]>\>
33
- Duong (Tran Quoc) \<<[email protected]>\>
4+
- Khoi (Kien Kim) \<<[email protected]>\>
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
The migration of this module from 16.0 to 17.0 was financially supported
1+
The migration of this module from 17.0 to 18.0 was financially supported
22
by Camptocamp

product_total_weight_from_packaging/static/description/index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,16 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
416416
<li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li>
417417
<li>Hughes Damry &lt;<a class="reference external" href="mailto:hughes.damry&#64;acsone.eu">hughes.damry&#64;acsone.eu</a>&gt;</li>
418418
<li>Duong (Tran Quoc) &lt;<a class="reference external" href="mailto:duongtq&#64;trobz.com">duongtq&#64;trobz.com</a>&gt;</li>
419+
<li>Khoi (Kien Kim) &lt;<a class="reference external" href="mailto:khoikk&#64;trobz.com">khoikk&#64;trobz.com</a>&gt;</li>
419420
</ul>
420421
</div>
421422
<div class="section" id="other-credits">
422423
<h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
423-
<p>The migration of this module from 16.0 to 17.0 was financially supported
424-
by Camptocamp</p>
424+
<p>The migration of this module from 17.0 to 18.0 was financially supported
425+
by:</p>
426+
<ul class="simple">
427+
<li>Camptocamp</li>
428+
</ul>
425429
</div>
426430
<div class="section" id="maintainers">
427431
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>

product_total_weight_from_packaging/tests/test_product_total_weight_from_packaging.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Copyright 2020 Camptocamp SA
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
3-
from odoo.tests import TransactionCase
3+
from odoo.addons.product.tests.common import TestProductCommon
44

55

6-
class TestProductTotalWeightFromPackaging(TransactionCase):
6+
class TestProductTotalWeightFromPackaging(TestProductCommon):
77
@classmethod
88
def setUpClass(cls):
99
super().setUpClass()
10-
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
1110
cls.product = cls.env.ref("product.product_product_20")
1211
cls.product.weight = 5
1312
cls.pair_packaging = cls.env["product.packaging"].create(

0 commit comments

Comments
 (0)