Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.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
LGPL-3
No conflicts with its dependencies
Folder size
0.15 MB
Module directory on disk
Code analysis 0 migration notes 3 models 7 views 0 HTTP endpoints

Description

Extend the visibility of the Free to Use Quantity field from odoo's stock module.

  • Make the field available on products (standard visibility is only on product variants).
  • Make the field visible in all product views.
  • Add a flag on the quant model to signal unreserved quantities.
  • Add an action to open related quants from the product template form.

Dependencies

Odoo dependencies
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 7

XML IDNameModelTypeStatus
product_form_view_procurement_button product.product.procurement product.product form Inherits stock.product_form_view_procurement_button
product_template_form_view_procurement_button product.template_procurement product.template form Inherits stock.product_template_form_view_procurement_button
product_template_kanban_stock_view Product Template Kanban Stock product.template kanban Inherits stock.product_template_kanban_stock_view
product_template_search_form_view_stock product.template.search.stock.form.inherit product.template form Inherits stock.product_template_search_form_view_stock
quant_search_view stock.quant.search stock.quant search Inherits stock.quant_search_view
view_stock_product_template_tree product.template.stock.list.inherit product.template list Inherits stock.view_stock_product_template_tree
view_stock_product_tree product.stock.list.inherit product.product list Inherits stock.view_stock_product_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • qty_available_not_res Float
    digits='Product Unit of Measure' help='Quantity of this product that is not currently reserved for a stock move' related='free_qty' string='Qty Available Not Reserved'
Public methods (0)

No public methods.

New fields (2)
  • free_qty Float
    compute='_compute_quantities' compute_sudo=False digits='Product Unit of Measure' search='_search_free_qty' args: 'Free to Use Quantity'
  • qty_available_not_res Float
    digits='Product Unit of Measure' help='Quantity of this product that is not currently reserved for a stock move' related='free_qty' string='Quantity On Hand Unreserved'
Public methods (1)
  • action_open_quants_unreserved(self)

New fields (1)
  • contains_unreserved Boolean
    compute='_compute_contains_unreserved' store=True string='Contains unreserved products'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…