|
@ -0,0 +1,83 @@ |
|
|
|
|
|
=================================== |
|
|
|
|
|
Point Of Sale - Check Session State |
|
|
|
|
|
=================================== |
|
|
|
|
|
|
|
|
|
|
|
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
|
|
|
|
!! This file is generated by oca-gen-addon-readme !! |
|
|
|
|
|
!! changes will be overwritten. !! |
|
|
|
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
|
|
|
|
|
|
|
|
|
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|
|
|
|
|
:target: https://odoo-community.org/page/development-status |
|
|
|
|
|
:alt: Beta |
|
|
|
|
|
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|
|
|
|
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|
|
|
|
|
:alt: License: AGPL-3 |
|
|
|
|
|
.. |badge3| image:: https://img.shields.io/badge/github-grap%2Fgrap--odoo--incubator-lightgray.png?logo=github |
|
|
|
|
|
:target: https://github.com/grap/grap-odoo-incubator/tree/8.0/pos_check_session_state |
|
|
|
|
|
:alt: grap/grap-odoo-incubator |
|
|
|
|
|
|
|
|
|
|
|
|badge1| |badge2| |badge3| |
|
|
|
|
|
|
|
|
|
|
|
**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 do not 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 |
|
|
|
|
|
reload the current page. |
|
|
|
|
|
|
|
|
|
|
|
.. figure:: https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/error_message.png |
|
|
|
|
|
|
|
|
|
|
|
**Table of contents** |
|
|
|
|
|
|
|
|
|
|
|
.. contents:: |
|
|
|
|
|
:local: |
|
|
|
|
|
|
|
|
|
|
|
Configuration |
|
|
|
|
|
============= |
|
|
|
|
|
|
|
|
|
|
|
* Go to Point of Sale / Configuration / Point of Sales |
|
|
|
|
|
* Open a PoS Config and set a frequency for the check |
|
|
|
|
|
|
|
|
|
|
|
.. figure:: https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/pos_config_form.png |
|
|
|
|
|
|
|
|
|
|
|
Bug Tracker |
|
|
|
|
|
=========== |
|
|
|
|
|
|
|
|
|
|
|
Bugs are tracked on `GitHub Issues <https://github.com/grap/grap-odoo-incubator/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 <https://github.com/grap/grap-odoo-incubator/issues/new?body=module:%20pos_check_session_state%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|
|
|
|
|
|
|
|
|
|
|
Do not contact contributors directly about support or help with technical issues. |
|
|
|
|
|
|
|
|
|
|
|
Credits |
|
|
|
|
|
======= |
|
|
|
|
|
|
|
|
|
|
|
Authors |
|
|
|
|
|
~~~~~~~ |
|
|
|
|
|
|
|
|
|
|
|
* GRAP |
|
|
|
|
|
|
|
|
|
|
|
Contributors |
|
|
|
|
|
~~~~~~~~~~~~ |
|
|
|
|
|
|
|
|
|
|
|
* Sylvain LE GAL <https://twitter.com/legalsylvain> |
|
|
|
|
|
|
|
|
|
|
|
Maintainers |
|
|
|
|
|
~~~~~~~~~~~ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This module is part of the `grap/grap-odoo-incubator <https://github.com/grap/grap-odoo-incubator/tree/8.0/pos_check_session_state>`_ project on GitHub. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You are welcome to contribute. |