Skip to main content

Check if the session state is still opened

Project description

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.

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

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

File hashes

Hashes for odoo12_addon_pos_check_session_state-12.0.1.0.0.99.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 c7eab43e1b5a104779d5585e4de8924ff5e7f9139dfd84c240e70d6d12606983
MD5 ae4c4b325c651d2286d281100bdf7357
BLAKE2b-256 c45efdf3d608dcf60fe1262f87441d633ae027b47bf945f0744aa89f3891b9e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page