This module takes the potential quantities available for Products into account in the quantity available to promise, where the "Potential quantity" is the quantity that can be manufactured with the components immediately at hand. By configuration, the "Potential quantity" can be computed based on other product field. For example, "Potential quantity" can be the quantity that can be manufactured with the components available to promise.
Table of contents
It's possible to avoid adding potential stock to available to promise stock at Bill of Materials level. This is interesting in case that sum is missleading due to uncertain manufacturing processes. To do so:
- Go to that specific Bill of Materials and in the Miscellaneous tab set the option Avoid adding potential to available to promise on.
The manufacturing delays are not taken into account: this module assumes that if you have components in stock goods, you can manufacture finished goods quickly enough. This can be overriden at BoM level though.
As a consequence, and to avoid overestimating, only the first level of Bill of Materials is considered.
However Sets (a.k.a "phantom" BoMs) are taken into account: if a component must be replaced with a set, it's the stock of the set's product which will decide the potential.
If a product has several variants, only the variant with the biggest potential will be taken into account when reporting the production potential. For example, even if you actually have enough components to make 10 iPads 16Go AND 42 iPads 32Go, we'll consider that you can promise only 42 iPads.
Previous versions of this module used to let programmers demand to get the potential quantity in an arbitrary Unit of Measure using the context. This feature was present in the standard computations too until v8.0, but it has been dropped from the standard from v8.0 on.
For the sake of consistency the potential quantity is now always reported in the product's main Unit of Measure too.
Possible improvements for future versions:
- Take manufacturing delays into account: we should not promise goods to customers if they want them delivered earlier that we can make them
- Compute the quantity of finished product that can be made directly on each Bill of Material: this would be useful for production managers, and may make the computations faster by avoiding to compute the same BoM several times when several variants share the same BoM.
- Add an option (probably as a sub-module) to consider all raw materials as available if they can be bought from the suppliers in time for the manufacturing.
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.
- Numérigraphe
- Loïc Bellier (Numérigraphe) <lb@numerigraphe.com>
- Lionel Sausin (Numérigraphe) <ls@numerigraphe.com>
- many thanks to Graeme Gellatly for his advice and code review
- Laurent Mignon <laurent.mignon@acsone.eu>
- Cédric Pigeon <cedric.pigeon@acsone.eu>
- Florian da Costa <florian.dacosta@akretion.com>
- Tecnativa:
- Víctor Martínez
- David Vidal
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.
This module is part of the OCA/stock-logistics-warehouse project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.