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 Runbot

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

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 odoo12_addon_pos_picking_delayed-12.0.2.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_pos_picking_delayed-12.0.2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea99b1399acbd78e3d7d46c6ba61e024fac330ef0232fa94a4dca7a5949187c
MD5 4f3ee4e88714992b57f33f660235bd13
BLAKE2b-256 14a7687c6bcc05334651c6a45b5b6a68826bd072f82a35f50fa61fbddd37940c

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