Skip to main content

Manage stock ownership on sale order lines

Project description

This module allows you to choose for every sale order line the owner of the stock that will be dispatched. By choosing an owner, the generated deliveries will then look for stock belonging to the specified partner. If none is available, then the picking will be waiting availability until stocks with proper ownership are replenished.

Specifying an owner on a line forces to use the stock of this owner. Leaving the owner empty allows to use stock (quant) without owner.

Note: pickings and moves both have an owner field. Here we only propagate the owner to moves. We have integration tests that check that this does end up with the correct reservation of quants, even if two order lines have different owners. If we decide instead to propagate the owner_id field of the picking as well, we will have to split pickings accordingly in case a sale order has lines with different owners. See the discussion on https://github.com/odoo/odoo/pull/4548 for details.

Contributors

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

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