We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 335fd9f commit ba89e2dCopy full SHA for ba89e2d
l10n_it_account_stamp/migrations/16.0.1.0.0/pre-migration.py
@@ -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