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 new file mode 100644 index 0000000000..d393503b22 --- /dev/null +++ b/auth_session_timeout/migrations/17.0.1.0.0/pre-migration.py @@ -0,0 +1,12 @@ +def migrate(env, version): + """ + Updates the 'inactive_session_time_out_ignored_url' parameter + in the 'ir_config_parameter' table during migration. + """ + env.cr.execute( + """ + UPDATE ir_config_parameter + SET value = '/calendar/notify,/websocket' + WHERE key = 'inactive_session_time_out_ignored_url' + """ + )