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. Point Of Sale
  3. POS Session Close Auto v 19.0
  4. Sales Conditions FAQ

POS Session Close Auto

by Marutiverse
Odoo

$ 35.00

In-App Purchases
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
Odoo Apps Dependencies • Point of Sale (point_of_sale)
• Discuss (mail)
• Inventory (stock)
• Invoicing (account)
Lines of code 151
Technical Name mv_pos_session_close_auto
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Point of Sale (point_of_sale)
• Discuss (mail)
• Inventory (stock)
• Invoicing (account)
Lines of code 151
Technical Name mv_pos_session_close_auto
LicenseLGPL-3

POS Session Close Auto

Automatically close open Point of Sale sessions at a configured time every day through a scheduled background job. Enable the feature per POS shop, set the closing hour, and Odoo handles everything — no manual intervention needed.

Community POS Session Auto Close Scheduler Configuration

100%

POS Based

odoo 19

Compatible

LGPL-3

License

Key Features

Auto Close Session Toggle

Each POS configuration gains an Auto Close Session. When disabled the shop behaves as normal; when enabled the cron will close it at the configured time. The setting is independent per shop — no global switch.

Configurable Close Time (HH:MM)

A Auto Close Time rendered with the float_time widget lets managers pick an exact closing hour (0 – 23:59). Default is 23:00. A validation constraint rejects values outside the 00:00–23:59 range.

Scheduled Cron Job (Every 15 Minutes)

An scheduler record installed with the module runs every 15 minutes as the superuser. It scans all sessions in opened or opening_control state and closes those whose configured time has passed.

Company Timezone Awareness

The cron converts the current UTC time into the company's local timezone (via pytz using the company partner's tz field) before comparing it to the configured close time. Sessions are closed at the correct wall-clock hour regardless of where the server is hosted.

Graceful Error Handling

If raises a UserError (e.g. draft orders still open), the failure is logged as a warning and the cron continues to the next session. Unexpected exceptions are captured with logger.exception() so the full traceback is available for debugging without halting the job.

Native POS Settings Integration

Both fields are surfaced through res.config.settings (related fields, readonly=False) so they appear directly in Point of Sale → Configuration → Settings. They also appear on the POS config form under a dedicated Auto Close tab — no extra menu navigation required.

How to Configure

Step 1 — Install the module

Install POS Session Auto Close (mv_pos_session_close_auto) from the Apps menu or via:

The cron job is created automatically on install and runs every 15 minutes.

Step 2 — Enable Auto Close on a POS shop

Go to Point of Sale → Configuration → Settings, select the POS shop from the top selector, then enable Auto Close Session. Set the Close Time using the HH:MM picker.

Alternatively open the POS config form directly (Point of Sale → Configuration → Point of Sale), switch to the Auto Close tab, and tick Auto Close Session.

Step 3 — Let the cron run

No further action is needed. Every 15 minutes the cron checks all open sessions. When the current local time is ≥ the configured close time, the session is closed via the standard Odoo POS closing flow.

You can monitor or manually trigger the cron via Technical → Automation → Scheduled Actions → POS: Auto Close Sessions.

Our Services

We offer professional solutions to help you expand, maintain, and customize your odoo systems.

odoo Customization
odoo Implementation
odoo Support
odoo Migration

Need Help or Customization?

POS Session Close Auto is proudly developed by Marutiverse. We provide dedicated support and are open to customizations tailored to your specific business requirements.

Contact Support
support.marutiverse@gmail.com
Version: 19.0.1.0.0 | License: LGPL-3 | © Marutiverse. All Rights Reserved.

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