Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Users
  3. Force Daily Logouts v 19.0
  4. Sales Conditions FAQ

Force Daily Logouts

by Metro Ict Limited https://odoo.co.ke
Odoo

$ 20.01

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 612
Technical Name Daily_logout
LicenseLGPL-3
Websitehttps://odoo.co.ke
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 612
Technical Name Daily_logout
LicenseLGPL-3
Websitehttps://odoo.co.ke
Versions 18.0 19.0
Supports:
Community
Enterprise
Availability:
On Premise
Odoo.sh
Odoo Online

Security • Session Management • Compliance

Force Daily Logouts for Odoo

Keeping Odoo sessions open indefinitely after business hours is a serious security risk. Force Daily Logouts solves this by automatically terminating all active user sessions at a configured time each day — with a live countdown timer and a full session audit trail. Built for organizations that must enforce access control policies and demonstrate compliance.

Module Icon
  • Screenshots
  • Features
  • FAQs
  • Releases
Compatible With
Community Enterprise Odoo.sh Not supported on Odoo Online

📸 Module Screenshots

Visual walkthrough of the Force Daily Logouts module

1 Countdown Timer & Daily Logout Settings

A real-time "Logout in: Xh Ym Zs" countdown is displayed in the top-right corner of every Odoo page. At the same time, a dedicated Daily Logout Settings section in General Settings lets you enable the feature and set the daily logout time in 12-hour format (e.g., 5:00 PM).

Go to Settings → General Settings → Daily Logout Settings to configure.

Tip: No server restart required. Enable the checkbox, enter the time, and save — the countdown and scheduled logout are active immediately.
Daily Logout countdown timer and settings configuration
Key Features
  • Scheduled daily logout — all users are automatically logged out at a configured time
  • Live real-time countdown timer displayed in the Odoo navigation bar
  • Session Audit log — timestamped record of every login and logout event
  • Simple admin config — enable/disable toggle and 12-hour time field in General Settings
  • Server-level (ORM) session invalidation — cannot be bypassed via browser refresh or URL
  • Timezone-aware using pytz (defaults to Kenyan / EAT UTC+3)
  • Compatible with Odoo 19.0 Community and Enterprise

The module logs out all active users at the configured time — including administrators. It is a company-wide session enforcement mechanism, not a per-user setting. In the current version, there is no user-level exemption list.

The logout time is evaluated in Kenyan time (EAT / UTC+3) using the pytz library. This ensures correct behavior even when your Odoo server is hosted in a different timezone (e.g., UTC).

Users are shown a live countdown timer throughout the day giving ample warning to save their work before the logout occurs. Unsaved data in open forms may be lost if users do not save before logout time — this is expected behavior for a session enforcement module.

Session invalidation occurs at the Odoo server / ORM level via the scheduled cron job. Even if a user does not have the browser open, their session token is invalidated. When they next access Odoo they are redirected to the login page. This is true server-side enforcement, not just a browser-side redirect.

Enter the time in 12-hour format, e.g. 5:00 PM, 6:30 PM, 7:20 AM. The hint text in the settings field shows the expected format. Always include AM or PM.

No. Odoo Online does not allow custom Python modules. This module requires an On-Premise or Odoo.sh installation.

Session audit logs are accessible via the Session Audit menu added to Odoo after installation. You can filter by user, date range, and event type to review the full session history.

Latest Release 19.0.1.0.0

2026-03-24
Initial Release
  • Initial Odoo 19 release.
  • Scheduled cron job to force logout all active users at a configured daily time.
  • Real-time countdown timer in the Odoo navigation bar updated every second.
  • Frontend countdown JavaScript (daily_logout.js) and public login page support (login_countdown.js).
  • Admin settings: enable/disable toggle and 12-hour logout time field in General Settings.
  • Session Audit log: timestamped record of all user login and logout events.
  • Timezone-aware time evaluation using pytz (defaulting to EAT / UTC+3).
Support

Support & Contact

Email
support@odoo.co.ke
Website
https://odoo.co.ke/helpdesk
Phone
+254739444447
Response Time
1 business day SLA

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with