Skip to content

Commit b3efa01

Browse files
authored
Merge pull request OCA#3958 from Tecnativa/18.0-ou-add-sale_order_type
[18.0][OU-ADD] sale_order_type: Migration scripts
2 parents 6eebe56 + 787a488 commit b3efa01

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright 2025 Tecnativa - Pedro M. Baeza
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
from openupgradelib import openupgrade, openupgrade_180
4+
5+
6+
@openupgrade.migrate()
7+
def migrate(env, version):
8+
openupgrade_180.convert_company_dependent(env, "res.partner", "sale_type")

0 commit comments

Comments
 (0)