Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 19 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 11 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

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

Odoo dependencies
OCA/stock-logistics-availability:
odoo/odoo:
- web
- bus
- uom
- mrp
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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

New fields (0)

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.

New fields (1)
  • stock_available_mrp_based_on Selection
    config_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
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…