Skip to main content

Delay the creation of the picking when PoS order is created

Project description

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

This module extends the functionality of odoo Point Of Sale to reduce creation time of the PoS orders, via the front UI.

For that purpose, it delays the creation of the picking associated, that will be created later by queue job.

This module is interesting specially in a context of Synchroneous Point Of Sale that is introduced by certification modules like ‘l10n_fr_pos_cert’ because in such cases, the bill will be printed only when the pos order is created ( after the call of the function create_from_ui) and the creation of the picking is the process that takes the most time.

See https://github.com/odoo/odoo/pull/26314#issuecomment-422949266 for more information.

Table of contents

Configuration

  • Go to ‘Point of Sale’ / ‘Configuration’ / ‘Point of Sale’

  • Select your Point of Sale

  • Set the value in the field ‘Picking Creation Delayed’. (Checked by default)

https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_config_form.png

You should update your odoo.cfg file to add a new channel named root.pos_picking_delayed:

[queue_job]
channels = root:2,root.pos_picking_delayed:1

Otherwise, you’ll have a non blocking warning in your log, like this one.

WARNING ? odoo.addons.queue_job.jobrunner.channels: unknown channel root.pos_picking_delayed, using root channel for job 23f6b872-1d2c-4003-bd38-a8486bbec664

Usage

  • Use your Point of Sale as usual. When validating an order, the order will be in a different color until the job is executed

https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_order_tree.png

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.

Current maintainer:

legalsylvain

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 odoo_addon_pos_picking_delayed-16.0.1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_pos_picking_delayed-16.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd7a6e3fa96b2a599744e2f56b79fcb11fe596fb085d8463ecd9c1f1d2ca238
MD5 5b501dab2620ab6b45175d2caa8e7566
BLAKE2b-256 c9f31e98da1a5a22e993c2ec4f9bc63cd2f06ede8e78418a78c74f908e69ba84

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