Toggle navigation

Point Of Sale - Check Session State

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runboat

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

Authors

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.