Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 17.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.43 MB
Module directory on disk
Code analysis 0 migration notes 5 models 6 views 0 HTTP endpoints

Description

This module adds an indicator on the product and replenishments to quickly see the past demand by configurable periods, like:

product

replenishment

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 6

XML IDNameModelTypeStatus
product_template_form_view product.template form Inherits product.product_template_form_view
res_config_settings_view_form res.config.settings form Inherits stock.res_config_settings_view_form
view_product_demand_period_form product.demand.period form New
view_product_demand_period_list product.demand.period list New
view_stock_warehouse_orderpoint_form_demand_period stock.warehouse.orderpoint form Inherits stock.view_warehouse_orderpoint_form
view_stock_warehouse_orderpoint_list_demand_period stock.warehouse.orderpoint list Inherits stock.view_warehouse_orderpoint_tree_editable

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (5)
  • active Boolean
    default=True
  • end_expression Char
    default='now' help="End of the time window used to search for outgoing stock moves (demand). Same syntax as Start: 'today'/'now' with ±Nd, ±Nw, ±Nm, ±Ny, or =1d, =6m." required=True
  • name Char
    required=True translate=True
  • sequence Integer
    default=10
  • start_expression Char
    help="Start of the time window used to search for outgoing stock moves. Use 'today' or 'now' followed by optional offsets: ±Nd (days), ±Nw (weeks), ±Nm (months), ±Ny (years). Use =1d for first day of month, =6m for a given month." required=True
Public methods (0)

No public methods.

New fields (1)
  • demand_period_info Json
    compute='_compute_demand_period_info' help='Past demand per period. Periods can be configured in General Settings.' string='Demand by period'
Public methods (0)

No public methods.

New fields (1)
  • demand_period_info Json
    compute='_compute_demand_period_info' help='Past demand per period. Periods can be configured in General Settings.' string='Demand by period'
Public methods (0)

No public methods.

New fields (1)
  • demand_period_ids Many2many → product.demand.period
    compute='_compute_demand_period_ids' context={'active_test': False} inverse='_inverse_demand_period_ids' string='Demand periods' args: 'product.demand.period'
Public methods (0)

No public methods.

New fields (1)
  • demand_period_info Json
    compute='_compute_demand_period_info' help='Past demand per period. Periods can be configured in General Settings.' string='Demand by period'
Public methods (0)

No public methods.

Loading…

Loading…