Skip to content

Commit 59b5a50

Browse files
author
Samir GUESMI
committed
[MIG] partner_shipping_policy: Migration to 18.0
1 parent 63ca762 commit 59b5a50

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

partner_shipping_policy/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "ForgeFlow,Odoo Community Association (OCA)",
88
"website": "https://github.com/OCA/partner-contact",
99
"category": "Sales",
10-
"version": "16.0.1.0.0",
10+
"version": "18.0.1.0.0",
1111
"license": "AGPL-3",
1212
"depends": ["sale_stock"],
1313
"data": ["views/res_partner_views.xml"],

partner_shipping_policy/models/res_partner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ class Partner(models.Model):
1010
picking_policy = fields.Selection(
1111
selection="_get_picking_policy_selection",
1212
string="Shipping Policy",
13-
help="Shipping policy to use in this partner's sales orders. If you deliver all "
14-
"products at once, the delivery order will be scheduled based on the greatest "
15-
"product lead time. Otherwise, it will be based on the shortest.",
13+
help="Shipping policy to use in this partner's sales orders. If you deliver "
14+
"all products at once, the delivery order will be scheduled based on the "
15+
"greatest product lead time. Otherwise, it will be based on the shortest.",
1616
)
1717

1818
@api.model

partner_shipping_policy/tests/test_partner_shipping_policy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
33

4-
from odoo.tests.common import Form, TransactionCase
4+
from odoo.tests import Form
5+
from odoo.tests.common import TransactionCase
56

67

78
class TestPartnerShippingPolicy(TransactionCase):

0 commit comments

Comments
 (0)