Set the timeout of the point of sale
Project description
This module extends the functionality of Point of Sale module.
By default, in Odoo a timeout is set to 7.5 seconds for the creation of a PoS order. (https://github.com/odoo/odoo/blob/12.0/addons/point_of_sale/static/src/js/models.js#L966)
This threshold is usually sufficient, but in some cases it is not, mainly if the connection is bad, or if some custom modules add extra long treatments.
This module allows to change this default value.
If the call contains more than one order (after a long disconnection period for example, or if the previous call raised the timeout) the effective timeout value applied will be equal to the defined timeout value multiplied by the number of orders.
Table of contents
Configuration
To configure this module, you need to:
Go to ‘Point Of Sale’ / ‘Configuration’ / ‘Point of Sale’ and edit your PoS Config, setting a timeout
Note
When installing the module, or for new pos.config created, the default value will be 30 seconds. (like in Odoo V13.0)
If the value is not set, the default Odoo timeout will be used. (7.5 seconds in V12.0)
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
Contributors
Sylvain LE GAL (https://twitter.com/legalsylvain)
Nils Hamerlinck (Trobz)
Other credits
The development of this module has been financially supported by:
GRAP, Groupement Régional Alimentaire de Proximité (http://www.grap.coop)
Maintainers
This module is maintained by the OCA.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo12_addon_pos_timeout-12.0.1.0.2.99.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a51ea5254723ac8a2cc39fec4b78ee767f8bff25d6dcdd5f01cade4f86d3d6 |
|
MD5 | 059d28ef934c48023b3c29071527fa0f |
|
BLAKE2b-256 | 8d789bedbe6fd3df645ad7f9a7d5068707e9758d3229889c5203ef657679230d |