Enforce ownership on stock availability
Project description
This module extends the core behaviour to manage ownership of stock. It is useful when we want to keep stock that belongs to someone other than our company.
This functionality is partially implemented in Odoo, with some missing behaviour (e.g. it will silently deliver someone else’s stock if that’s all we’ve got).
The purpose of this module is also to add tests that are missing in the Odoo core.
With this module, the owner of quants becomes required, and is set by default as follows:
If the location of the quant has a partner, it is used.
Otherwise, if the location of the quant has a company, the related partner is used.
Otherwise, the partner related to the default company for quants is used.
The tests make sure that the quants reservation always respect owners:
Outgoing pickings without owner or with company owner only reserve quants with company owner, otherwise they remain unreserved.
Outgoing pickings with owner only reserve quants with the same owner, otherwise they remain unreserved.
To understand stock owners more easily, now the “On Hand” button on the product form view opens a stock view grouped by location and owner (instead of location only).
Partially related to this is issue https://github.com/odoo/odoo/issues/4136.
Contributors
Leonardo Pistone <leonardo.pistone@camptocamp.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo10_addon_stock_ownership_availability_rules-10.0.1.0.2-py2-none-any.whl
.
File metadata
- Download URL: odoo10_addon_stock_ownership_availability_rules-10.0.1.0.2-py2-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874d96debbb1a42abfcbf76799e52329e51554c1fbca772125b6cb839ecf375d |
|
MD5 | 816bffd038ce0fbe2d5ead5f62773d68 |
|
BLAKE2b-256 | 00764c0d6ddde4f9e83a38e97ddf9df551345c4b911d271c4a343e83cec59b35 |