Context
In Point Of Sale module, the front-end works offline, so all datas are loaded at the beginning. At the end of the session, if user doesn't close the window, it will be possible to create new PoS order on a closed session, generating errors.
Functionality
This module prevent the possility to create a PoS order via the front end PoS UI, when session is closed.
The session state is checked every minute by default. If the state of the session is not opened, a blocking pop up is displayed, and user has to open a new session.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Prevents cashiers from creating Point of Sale orders on a session that is no longer open. It checks the session state every few seconds and shows a blocking pop-up if the session was closed or is in closing control.
In Odoo Point of Sale, the front-end keeps working offline, so a cashier could keep selling on a session that has already been closed. This module adds a safety check.
- On each Point of Sale configuration (
pos.config), a new field "Frequency of Checking the State of the Session" lets you set how often the check runs, in seconds. It is shown in the Point of Sale settings form. - When the Point of Sale interface starts, it schedules a check at that frequency. The check asks the server for the current state of the session.
- If the session is not
opened, a blocking error pop-up appears with the session name and a message explaining that the window will be closed and a new session must be opened. The pop-up closes the Point of Sale window. - On the server side, when an order is sent to be processed (
pos.order), the module refuses it if the related session isclosed, raising the error "Unable to write an order in a closed Session".
The module touches the Point of Sale configuration screen and the order processing logic. It does not add new menus.
Depends on
Models and fields (1)
- pos.config · extends an existing modelcheck_session_state_frequency (Frequency of Checking the State of the Session)
Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/pos.
terminal Installation and usage
OCA documentation · Odoo 12.0Configuration
Source · Odoo 12.0- Go to Point of Sale / Configuration / Point of Sales
- Open a PoS Config and set a frequency for the check
- Alternatively, if you let the value to 0, a lazy check will be done when trying to save the order. This setting can be interesting, if you have a poor connexion, because the check done regularly could generate a bad UX experience in that case.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.