Skip to content

Latest commit

 

History

History
 
 

sale_owner_stock_sourcing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
License: AGPL-3

Sale Owner Stock Sourcing

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 odoo/odoo#4548 for details.

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

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.