Skip to content

Commit ba89e2d

Browse files
committed
[FIX] l10n_it_account_stamp: stamp lines migration
1 parent 335fd9f commit ba89e2d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2025 Sergio Zanchetta
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
from openupgradelib import openupgrade
5+
6+
7+
@openupgrade.migrate()
8+
def migrate(env, version):
9+
openupgrade.logged_query(
10+
env.cr,
11+
"""
12+
UPDATE account_move_line
13+
SET
14+
display_type = 'cogs'
15+
WHERE
16+
is_stamp_line = True;
17+
""",
18+
)

0 commit comments

Comments
 (0)