Consider the production potential is available to promise
stock_available_mrp · OCA/stock-logistics-availability
OCA/stock-logistics-warehouse 7.0–15.0 → OCA/stock-logistics-availability 16.0–17.0
-
Security25/25No findings
-
Activity12/25Last human commit 19 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 11 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Description
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_configuration |
Stock settings: quantity available to promise | res.config.settings | form | Inherits stock.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
explode_bom_quantities(self)Explode a bill of material with quantities to consume It returns a dict with the exploded bom lines and the quantity they consume. Example:: { <product-id>: [ (<bom-line-id>, <quantity>) (<bom-line-id>, <quantity>) ] } The 'MrpBom.explode()' method includes the same information, with other things, but is under-optimized to be used for the purpose of this module. The killer is particularly the call to `_bom_find()` which can generate thousands of SELECT for searches.
-
stock_available_mrp_based_onSelectionconfig_parameter='stock_available_mrp.stock_available_mrp_based_on'help='Choose the field of the product which will be used to compute potential.\nIf empty, Quantity On Hand is used.\nOnly the quantity fields have meaning for computing stock'string='based on' args: _get_stock_available_mrp_based_on
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…