Check if the session state is still opened
Project description
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.
Table of contents
Configuration
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.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Sylvain LE GAL <https://twitter.com/legalsylvain>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/pos project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_pos_check_session_state-12.0.1.0.0.99.dev8-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_pos_check_session_state-12.0.1.0.0.99.dev8-py3-none-any.whl
- Upload date:
- Size: 97.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7eab43e1b5a104779d5585e4de8924ff5e7f9139dfd84c240e70d6d12606983 |
|
MD5 | ae4c4b325c651d2286d281100bdf7357 |
|
BLAKE2b-256 | c45efdf3d608dcf60fe1262f87441d633ae027b47bf945f0744aa89f3891b9e9 |