Skip to content

Commit

Permalink
[MIG] partner_shipping_policy: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir GUESMI committed Feb 4, 2025
1 parent 63ca762 commit 59b5a50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion partner_shipping_policy/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "ForgeFlow,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"category": "Sales",
"version": "16.0.1.0.0",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["sale_stock"],
"data": ["views/res_partner_views.xml"],
Expand Down
6 changes: 3 additions & 3 deletions partner_shipping_policy/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ class Partner(models.Model):
picking_policy = fields.Selection(
selection="_get_picking_policy_selection",
string="Shipping Policy",
help="Shipping policy to use in this partner's sales orders. If you deliver all "
"products at once, the delivery order will be scheduled based on the greatest "
"product lead time. Otherwise, it will be based on the shortest.",
help="Shipping policy to use in this partner's sales orders. If you deliver "
"all products at once, the delivery order will be scheduled based on the "
"greatest product lead time. Otherwise, it will be based on the shortest.",
)

@api.model
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo.tests.common import Form, TransactionCase
from odoo.tests import Form
from odoo.tests.common import TransactionCase


class TestPartnerShippingPolicy(TransactionCase):
Expand Down

0 comments on commit 59b5a50

Please sign in to comment.