Skip to content

Commit bb055dd

Browse files
[MIG] delivery_carrier_manual_weight: Migration to 18.0
1 parent 8919f8b commit bb055dd

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

delivery_carrier_manual_weight/README.rst

+8-5
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Delivery Carrier Manual Weight
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
20-
:target: https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight
20+
:target: https://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_manual_weight
2121
:alt: OCA/delivery-carrier
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_manual_weight
23+
:target: https://translation.odoo-community.org/projects/delivery-carrier-18-0/delivery-carrier-18-0-delivery_carrier_manual_weight
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -49,7 +49,7 @@ Bug Tracker
4949
Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
5050
In case of trouble, please check there if your issue has already been reported.
5151
If you spotted it first, help us to smash it by providing a detailed and welcomed
52-
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
52+
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5353

5454
Do not contact contributors directly about support or help with technical issues.
5555

@@ -67,6 +67,9 @@ Contributors
6767
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
6868
- Marina Alapont <marina.alapont@forgeflow.com>
6969
- Manuel Regidor <manuel.regidor@sygel.es>
70+
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__
71+
72+
- Bhavesh Heliconia
7073

7174
Maintainers
7275
-----------
@@ -81,6 +84,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8184
mission is to support the collaborative development of Odoo features and
8285
promote its widespread use.
8386

84-
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight>`_ project on GitHub.
87+
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_manual_weight>`_ project on GitHub.
8588

8689
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

delivery_carrier_manual_weight/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Allow setting weight and shipping weight in stock transfers manually
99
based on carrier.
1010
""",
11-
"version": "17.0.1.0.0",
11+
"version": "18.0.1.0.0",
1212
"category": "Delivery",
1313
"website": "https://github.com/OCA/delivery-carrier",
1414
"author": "ForgeFlow,Odoo Community Association (OCA)",
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
- Jordi Masvidal \<<jordi.masvidal@forgeflow.com>\>
22
- Marina Alapont \<<marina.alapont@forgeflow.com>\>
33
- Manuel Regidor \<<manuel.regidor@sygel.es>\>
4+
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
5+
- Bhavesh Heliconia

delivery_carrier_manual_weight/static/description/index.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Delivery Carrier Manual Weight</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:cb7ec31b8da17884fe4d5613b5dc090c793371ad7f11e667d830d58cb03b4047
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_manual_weight"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_manual_weight"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-18-0/delivery-carrier-18-0-delivery_carrier_manual_weight"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module adds a flag in Shipping Methods to allow to set manually the
374374
weight and shipping weight in each transfer.</p>
375375
<p><strong>Table of contents</strong></p>
@@ -396,7 +396,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
396396
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/delivery-carrier/issues">GitHub Issues</a>.
397397
In case of trouble, please check there if your issue has already been reported.
398398
If you spotted it first, help us to smash it by providing a detailed and welcomed
399-
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
399+
<a class="reference external" href="https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_carrier_manual_weight%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
400400
<p>Do not contact contributors directly about support or help with technical issues.</p>
401401
</div>
402402
<div class="section" id="credits">
@@ -413,6 +413,10 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
413413
<li>Jordi Masvidal &lt;<a class="reference external" href="mailto:jordi.masvidal&#64;forgeflow.com">jordi.masvidal&#64;forgeflow.com</a>&gt;</li>
414414
<li>Marina Alapont &lt;<a class="reference external" href="mailto:marina.alapont&#64;forgeflow.com">marina.alapont&#64;forgeflow.com</a>&gt;</li>
415415
<li>Manuel Regidor &lt;<a class="reference external" href="mailto:manuel.regidor&#64;sygel.es">manuel.regidor&#64;sygel.es</a>&gt;</li>
416+
<li><a class="reference external" href="https://www.heliconia.io">Heliconia Solutions Pvt. Ltd.</a><ul>
417+
<li>Bhavesh Heliconia</li>
418+
</ul>
419+
</li>
416420
</ul>
417421
</div>
418422
<div class="section" id="maintainers">
@@ -424,7 +428,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
424428
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
425429
mission is to support the collaborative development of Odoo features and
426430
promote its widespread use.</p>
427-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight">OCA/delivery-carrier</a> project on GitHub.</p>
431+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_manual_weight">OCA/delivery-carrier</a> project on GitHub.</p>
428432
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
429433
</div>
430434
</div>

delivery_carrier_manual_weight/tests/test_delivery_carrier_manual_weight.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
3+
from odoo import Command
34
from odoo.tests import Form
45
from odoo.tests.common import TransactionCase
56

@@ -26,16 +27,14 @@ def setUpClass(cls):
2627
}
2728
)
2829
cls.product = cls.env["product.product"].create(
29-
{"name": "Test product", "type": "product"}
30+
{"name": "Test product", "type": "consu"}
3031
)
3132
cls.partner = cls.env["res.partner"].create({"name": "Test Partner"})
3233
cls.sale = cls.env["sale.order"].create(
3334
{
3435
"partner_id": cls.partner.id,
3536
"order_line": [
36-
(
37-
0,
38-
0,
37+
Command.create(
3938
{
4039
"product_id": cls.product.id,
4140
"product_uom_qty": 1,

0 commit comments

Comments
 (0)