Repository
OCA/stock-logistics-reporting · module folder · Try on Runboat
Module version
1.1.0
Category
Inventory
Folder size
0.43 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-reporting
Last tracking update
2026-08-07 09:06:25
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Iván Todorovich, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds an indicator on the product and replenishments to quickly
see the past demand by configurable periods, like:

![product](static/description/product.png)

![replenishment](static/description/replenishment.png)

Code Analysis

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.