Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by20/25
    3 modules depend on it
  • Maturity25/25
    In 13 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
3
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.17 MB
Module directory on disk
Code analysis 0 migration notes 2 models 5 views 0 HTTP endpoints

Description

This module proposes several options to compute the quantity available to promise for each product. This quantity is based on the projected stock and, depending on the configuration, it can account for various data such as sales quotations or immediate production capacity. In case of immediate production capacity, it is possible to configure on which field the potential is computed, by default Quantity On Hand is used. This can be configured in Inventory > Configuration > Settings.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_stock_available_info_popup, stock_available_immediately, website_sale_stock_available

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
product_normal_form_view Quantity available to promise (variant form) product.product form Inherits stock.product_form_view_procurement_button
view_stock_available_form Quantity available to promise (form) product.template form Inherits stock.product_template_form_view_procurement_button
view_stock_available_kanban Quantity available to promise (kanban) product.template kanban Inherits stock.product_template_kanban_stock_view
view_stock_available_product_list Quantity available to promise (variant list) product.product list Inherits stock.view_stock_product_tree
view_stock_available_product_template_list Quantity available to promise (list) product.template list Inherits stock.view_stock_product_template_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • immediately_usable_qty Float
    compute='_compute_available_quantities' digits='Product Unit' help='Stock for this Product that can be safely proposed for sale to Customers.\nThe definition of this value can be configured to suit your needs.' search='_search_immediately_usable_qty' string='Available to promise'
  • potential_qty Float
    compute='_compute_available_quantities' digits='Product Unit' help='Quantity of this Product that could be produced using the materials already at hand.' string='Potential'
Public methods (0)

No public methods.

New fields (2)
  • immediately_usable_qty Float
    compute='_compute_available_quantities' digits='Product Unit' help='Stock for this Product that can be safely proposed for sale to Customers.\nThe definition of this value can be configured to suit your needs' search='_search_immediately_usable_qty' string='Available to promise'
  • potential_qty Float
    compute='_compute_available_quantities' digits='Product Unit' help='Quantity of this Product that could be produced using the materials already at hand. If the product has several variants, this will be the biggest quantity that can be made for a any single variant.' string='Potential'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…