auth_totp module added user_id in session_info, but it's not in the depends of project and web_editor module. To avoid traceback after uninstalling auth_totp module: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0'), we should use uid instead of user_id in js code. closes odoo/odoo#96880 X-original-commit: 81b92a61907028f71b1337b11d0d60ee98bb5775 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>