Search 1.9 billion lines of Odoo code on GitHub

pos_warning_exiting

Author: GRAP, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0-ADD-pos_warning_exiting
Repository: legalsylvain/pos
Dependencies: point_of_sale
Languages: JavaScript (65, 38.5%), PO File (30, 17.8%), Python (21, 12.4%), XML (8, 4.7%), and reStructuredText (45, 26.6%)
Other branches: 12.0-ADD-pos_cash_move_reason_multiple_control, 12.0-ADD-pos_cashback_warning, 12.0-ADD-pos_margin_account_invoice_margin, 12.0-ADD-pos_prevent_account_duplicates, 12.0-ADD-pos_pricelist_technical, 12.0-ADD-pos_unavailable_product_friendly_error, 12.0-FIX-pos_journal_image-migration-version, 12.0-FIX-pos_margin-iface_display_margin-false, 12.0-FIX-pos_multiple_control-remove-numeric-step-coin-value, 12.0-FIX-pos_multiple_control-website-manifest, 12.0-FIX-pos_order_to_sale_order-service-product, 12.0-FIX-pos_payment_terminal-pos_customer_display-do-not-enable-use_proxy, 12.0-IMP-pos_cash_move_reason-display-cash-moves, 12.0-IMP-pos_invoicing-handle-invoiced-later, 12.0-IMP-pos_margin-display-margin-on-front-end, 12.0-IMP-pos_meal_voucher-add-info-on-ticket, 12.0-IMP-pos_place-places-on-invoices, 12.0-IMP-pos_place-places-on-invoices-2, 12.0-REF-pos_picking_delayed-queue_job_refactoring, 12.0-TEST-oca-gen-addons-table-maintainers, 12.0-TRY-oca-addons-repo-template-support-10-11-12-coop-it-easy, 12.0-UPD-copier-2022-12-05, 12.0-adopt-modules, 12.0-adopt-modules-2, 12.0-copier-update-v1.14.0, 12.0-pos_order_mgmt-conserve-pricelist, 12.0-pos_payment_terminal-compatibility-pos_restaurant, 12.0-pos_tare-add-default-tare-value, 14-mig-pos_customer_display, 14.0-META-update-copier-2022-03-29, 14.0-UPD-copier-2022-12-05, and 14.0-pos_access_right-REM-bad-css
Other repositories: Callino/pos, Change2improve/pos, ERPLibre/pos, Gabinete-Digital/pos, LevelPrime/pos, NeatNerdPrime/pos, OCA/pos, SeuMarco/pos, Studio73/pos, TRESCLOUD/pos, Tecnativa/pos, acsone/pos, akretion/pos, anhvu-sg/pos, aurestic/pos, camptocamp/pos, coopiteasy/pos, eLBati/pos, factorlibre/pos, initOS/pos, invitu/pos, kmee/pos, marionumza/pos, r-sierra/pos, sunflowerit/pos, takobi-online/pos, tegin/pos, and wahello/oca-pos

<h1 class="title">Point Of Sale - Check Session State</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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.png" /></a> <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/tree/8.0/pos_check_session_state"><img alt="grap/grap-odoo-incubator" src="https://img.shields.io/badge/github-grap%2Fgrap--odoo--incubator-lightgray.png?logo=github" /></a></p> <p><strong>Context</strong></p> <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> <p><strong>Functionality</strong></p> <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> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/error_message.png" src="https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/error_message.png" /> </div> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <ul class="simple"> <li>Go to Point of Sale / Configuration / Point of Sales</li> <li>Open a PoS Config and set a frequency for the check</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/pos_config_form.png" src="https://raw.githubusercontent.com/grap/grap-odoo-incubator/8.0/pos_check_session_state/static/description/pos_config_form.png" /> </div> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/issues">GitHub Issues</a>. 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 <a class="reference external" href="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**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>GRAP</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Sylvain LE GAL &lt;<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is part of the <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/tree/8.0/pos_check_session_state">grap/grap-odoo-incubator</a> project on GitHub.</p> <p>You are welcome to contribute.</p>