From bcb339210fd1eea9111b8ff44c5da2a7861ed47a Mon Sep 17 00:00:00 2001 From: Robrecht Date: Thu, 12 Dec 2024 19:37:36 +0100 Subject: [PATCH] [FIX] Pre-migrate script --- auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py b/auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py index d393503b22..daf4321a07 100644 --- a/auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py +++ b/auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py @@ -1,9 +1,9 @@ -def migrate(env, version): +def migrate(cr, version): """ Updates the 'inactive_session_time_out_ignored_url' parameter in the 'ir_config_parameter' table during migration. """ - env.cr.execute( + cr.execute( """ UPDATE ir_config_parameter SET value = '/calendar/notify,/websocket'