Author: |
GRAP,Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
8.0 |
Repository: |
quentinDupont/odoo-addons-misc |
Dependencies: |
point_of_sale,
and
web |
Languages: |
JavaScript (41, 29.7%),
PO File (18, 13.0%),
Python (20, 14.5%),
XML (30, 21.7%),
and
reStructuredText (29, 21.0%) |
Other branches: |
7.0,
8.0_IMP_stock_picking_type_image,
8.0_WIP_pos_change_payment,
and
legalsylvain-patch-1 |
Other repositories: |
Change2improve/pos,
ERPLibre/pos,
LevelPrime/pos,
NeatNerdPrime/pos,
OCA/pos,
OdooBulgaria/odoo-addons-misc,
Supercagette/odoo-addons-misc,
Tecnativa/pos,
TheCloneMaster/grap-odoo-incubator,
acsone/pos,
akretion/grap-odoo-incubator,
aurestic/grap-odoo-incubator,
aurestic/pos,
camptocamp/pos,
cedvict/grap-odoo-incubator,
consultingerp/grap-odoo-incubator,
coopiteasy/grap-odoo-incubator,
coopiteasy/pos,
diagramsoftware/grap-odoo-incubator,
eLBati/pos,
erick-alvino/grap-odoo-incubator,
francislouie/grap-odoo-incubator,
grap/grap-odoo-incubator,
grap/odoo-addons-misc,
grap/pos,
haryoran04/grap-odoo-incubator,
initOS/grap-odoo-incubator,
jaferrer/grap-odoo-incubator,
kmee/pos,
legalsylvain/grap-odoo-incubator,
legalsylvain/odoo-addons-misc,
legalsylvain/pos,
marionumza/pos,
minimedj/odoo-addons-misc,
mohamedhagag/odoo-addons-misc,
nabima/grap-odoo-incubator,
open-synergy/grap-odoo-incubator,
quentinDupont/grap-odoo-incubator,
quentinDupont/pos,
rkhalil1990/odoo-addons-misc,
sjpatel21/grap-odoo-incubator,
sunflowerit/pos,
takobi-online/pos,
and
vidtsin/grap-odoo-incubator |
<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg">
</a>
<a name="check-if-the-session-state-is-still-opened"></a>
<h2>Check if the session state is still opened</h2>
<a name="context"></a>
<h3>Context</h3>
<p>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.</p>
<a name="functionality"></a>
<h3>Functionality</h3>
<ul class="simple">
<li>This module prevent the possility to create a pos order via the front
end PoS UI, when session is closed.</li>
<li>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.</li>
</ul>
<img alt="/pos_check_session_state/static/description/error_message.png" src="/pos_check_session_state/static/description/error_message.png" />
<a name="installation"></a>
<h4>Installation</h4>
<p>Normal installation.</p>
<a name="configuration"></a>
<h4>Configuration</h4>
<ul class="simple">
<li>Go to "Settings" / "Technicals" / "Parameters" / "System Parameters"</li>
<li>Edit the key pos_check_session_state.frequency</li>
<li>Set a value (in Second)</li>
</ul>
<a name="credits"></a>
<h4>Credits</h4>
<a name="contributors"></a>
<h3>Contributors</h3>
<ul class="simple">
<li>Sylvain LE GAL <<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>></li>
</ul>