Skip to content

[18.0][MIG] web_session_auto_close #3101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 18.0
Choose a base branch
from

Conversation

sbejaoui
Copy link
Contributor

@sbejaoui sbejaoui commented Feb 21, 2025

This module automatically closes inactive user sessions based on a
configurable timeout. If no activity is detected within the set
duration, the session is destroyed, and the page reloads.

Laurent Stukkens and others added 2 commits February 21, 2025 09:17
This commit adds the web_session_auto_close module which purpose is
to is to automatically close the session when the last odoo tab is
closed or when the computer gets in idle mode.

The `timeout` occurs 15 seconds after the tab has been closed or
the computer got idle.
@glitchov
Copy link
Contributor

The mechanism doesn't work if the last tab is closed. You can go back in Odoo after the timeout.

@sbejaoui sbejaoui force-pushed the 18.0-web_session_auto_close-sbj branch from 3b31da7 to ab7d4d0 Compare February 21, 2025 11:22
@sbejaoui
Copy link
Contributor Author

The mechanism doesn't work if the last tab is closed. You can go back in Odoo after the timeout.

please try now

Copy link
Contributor

@glitchov glitchov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in UX testing

@pierre-halleux
Copy link

LGTM

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants