Point Of Sale - Check Session State

Check if the session state is still opened

Technical Name:
pos_check_session_state
Version:
12.0
License:
Author:
GRAP
  • Odoo Version

Point Of Sale - Check Session State

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

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.

https://raw.githubusercontent.com/OCA/pos/12.0/pos_check_session_state/static/description/error_message.png

Table of contents

Configuration

  • Go to Point of Sale / Configuration / Point of Sales
  • Open a PoS Config and set a frequency for the check
https://raw.githubusercontent.com/OCA/pos/12.0/pos_check_session_state/static/description/pos_config_form.png
  • 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.
https://raw.githubusercontent.com/OCA/pos/12.0/pos_check_session_state/static/description/create_from_ui_error.png

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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • GRAP

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.

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products