Skip to main content

Set the timeout of the point of sale

Project description

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runbot

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

PoS Configuration

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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • GRAP

Contributors

Other credits

The development of this module has been financially supported by:

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_timeout-12.0.1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_pos_timeout-12.0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a132832ccf2939797fb55a9c4c8260a0462caf0383613f768a757782cfc85121
MD5 566f1685d94e19995aabb5559b3fc91c
BLAKE2b-256 133d67b33cc1eb15d1f09a964e899a328b49c57ced769a832b6602f3cc726d5d

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