OdooWiki OCA HUB

Stock Product Demand Info

stock_product_demand_info folder_open OCA/stock-logistics-reporting open_in_new
Inventory License: AGPL-3

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

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows past demand (outgoing stock moves) for each product, broken down by configurable time periods, directly on the product form and on replenishment rules. Users choose which periods appear in Inventory settings.

This module adds a "Demand by period" indicator that summarises how much of a product has been shipped out over chosen time windows.

Where it appears: - On the product form, in the Inventory section, for storable products only. - On replenishment rules (orderpoints), both in the list and in the form, next to the forecasted quantity. There the figures are limited to the rule's warehouse. - In Inventory settings, where you pick which periods are shown and open a screen to manage them.

How it works: - Demand periods are records with a name, a start and an end date expression (for example "today -30d" or "today =1d -1y"), and a sequence. Several are preloaded (Last 30 days, Last year, Year to date active by default; others inactive). - The system checks that each expression is valid and that the start is not after the end, otherwise it blocks saving with an error. - Quantities are computed from stock moves in confirmed, assigned, partially available or done states, with positive quantity, dated within the period and before today. Only outgoing moves to customers or production count on the product form; on a replenishment rule, moves leaving that warehouse count. - On a product template, the figures are the sum of its variants.

Access: stock users can read periods; only stock managers can create, edit or delete them.

Depends on

stock
Models and fields (5)
  • product.product · extends an existing modeldemand_period_info (Demand by period)
  • product.template · extends an existing modeldemand_period_info (Demand by period)
  • res.config.settings · extends an existing modeldemand_period_ids (Demand periods)
  • product.demand.period · new modelname, active, sequence, end_expression, start_expression
  • stock.warehouse.orderpoint · extends an existing modeldemand_period_info (Demand by period)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/stock-logistics-reporting.

terminal Installation and usage

OCA documentation · Odoo 19.0

Go to General Settings > Inventory > Products > Demand periods.

Enable or create the periods you want to see in the indicators.

The periods are defined using the same relative date expression syntax used in Domains in Odoo.

For example:

  • today -7d for the last 7 days
  • today =1d -1m for the last month
  • today =1d -1y for the last year

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.