Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 12 Odoo series since 9.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.58 MB
Module directory on disk
Code analysis 0 migration notes 1 model 5 views 0 HTTP endpoints

Description

This module allows to create demand estimates for a given product and location, on configurable time periods.

The module does not provide in itself any specific usage of the estimates.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
ddmrp

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
stock_demand_estimate_view_form stock.demand.estimate.form stock.demand.estimate form New
stock_demand_estimate_view_graph stock.demand.estimate.graph stock.demand.estimate graph New
stock_demand_estimate_view_list stock.demand.estimate.list stock.demand.estimate list New
stock_demand_estimate_view_pivot stock.demand.estimate.pivot stock.demand.estimate pivot New
stock_demand_estimate_view_search stock.demand.estimate.search stock.demand.estimate search New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (14)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • daily_qty Float
    compute='_compute_daily_qty' string='Quantity / Day'
  • date_from Date
    compute='_compute_dates' store=True string='From (computed)'
  • date_to Date
    compute='_compute_dates' store=True string='To (computed)'
  • duration Integer
    compute='_compute_dates' store=True string='Duration (computed))'
  • location_id Many2one → stock.location
    check_company=True comodel_name='stock.location' required=True
  • manual_date_from Date
    string='From'
  • manual_date_to Date
    string='To'
  • manual_duration Integer
    default=1 help='Duration (in days)' string='Duration'
  • product_id Many2one → product.product
    check_company=True comodel_name='product.product' required=True
  • product_qty Float
    compute='_compute_product_quantity' digits=0 help='Quantity in the default UoM of the product' inverse='_inverse_product_quantity' readonly=True store=True string='Quantity (Product UoM)'
  • product_uom Many2one → uom.uom
    comodel_name='uom.uom' string='Unit of measure'
  • product_uom_qty Float
    digits='Product Unit' string='Quantity'
Public methods (1)
  • get_quantity_by_date_range(self, date_start, date_end)
    @api.model
    To be used in other modules

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…