Toggle navigation

Point of Sale - timeout

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

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 to smash 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.