mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] mrp_workorder_sequence: Migration to 17.0
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
||||
|
||||
|
||||
def post_init_hook(cr, registry):
|
||||
cr.execute(
|
||||
def post_init_hook(env):
|
||||
env.cr.execute(
|
||||
"""
|
||||
UPDATE mrp_workorder
|
||||
SET sequence = n.sequence
|
||||
|
||||
Reference in New Issue
Block a user