[MIG] session_redis: Migration to 19.0 (#499)

* lazy_property is deprecated
* Since https://github.com/odoo/odoo/commit/cea66be976c6d0746a972da8a16b7a239d12a462, Session
  must be used as a dictionary when setting custom values
* Session default lifetime is now defined in odoo.http, so we can just reuse that
* Handle new session rotation logic (sessions must be findable by the first 42 chars of they key)
* Handle new session key generation for rotation (keys must be longer than 42 chars to handle devices)
This commit is contained in:
Atte Isopuro
2025-11-24 15:37:51 +01:00
committed by GitHub
co-authored by GitHub
parent f00d54e501
commit 750bc4dcf8
3 changed files with 109 additions and 17 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{
"name": "Sessions in Redis",
"summary": "Store web sessions in Redis",
"version": "18.0.1.0.0",
"version": "19.0.1.0.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Extra Tools",