Files
Odoo-18.0-20251222/partner_invoicing_mode_at_shipping/migrations/16.0.1.1.0/pre-migrate.py
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

14 lines
376 B
Python

# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
# pylint: disable=odoo-addons-relative-import
from odoo.addons.partner_invoicing_mode_at_shipping.hooks import (
_add_one_invoice_per_shipping,
)
@openupgrade.migrate()
def migrate(env, version):
_add_one_invoice_per_shipping(env)