Skip to content

Commit bcb3392

Browse files
author
Robrecht
committed
[FIX] Pre-migrate script
1 parent def9106 commit bcb3392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
def migrate(env, version):
1+
def migrate(cr, version):
22
"""
33
Updates the 'inactive_session_time_out_ignored_url' parameter
44
in the 'ir_config_parameter' table during migration.
55
"""
6-
env.cr.execute(
6+
cr.execute(
77
"""
88
UPDATE ir_config_parameter
99
SET value = '/calendar/notify,/websocket'

0 commit comments

Comments
 (0)