Skip to content

CookiesWe use the cookies the site needs to work. Analytics and marketing only turn on with your permission. Privacy policy

My choices
What stays on

Your choice lasts 12 months. To change it, open “Cookies” in the footer.

IntData
IntData · https://intdata.com.br/en/metrics/dead-stock · November 30, 2026

Dead stock

Which products are sitting idle in stock, and how much money is tied up in them?

Verified Metric version 1.1.0

What it is

Products with a positive balance in an internal location that had NO OUTGOING movement in the last N days. Value = Odoo's accounting valuation of that balance.

What it is not

  • It is not 'products with no INCOMING movement for N days'. An item that sells every day but has not been purchased for 7 months is not idle — it is selling well with old stock.
  • It is not quantity × the registered cost price: a product with a zero cost on its record may carry real valuation in FIFO/AVCO layers.
  • It is not the top 5 — it is the total of all idle products.

Pitfalls this metric handles

The traps a hasty calculation falls into — and how this metric avoids each one.

Incoming instead of outgoing

The mistake
Defining idle as 'no incoming movement'.
Why it happens
Incoming is purchasing. Dead stock is lack of sales. They are opposites: whoever sells a lot and buys little lands on the wrong list.
How we handle it
Count only moves that start in an internal location and end OUTSIDE internal locations (customer, production, scrap).
Evidence from a real database
Reference database, Oct 5, 2026: Ask AI listed a TV mount with 38 units as idle. That item had outgoing moves in the last 180 days. A verifiable false positive.

Wrong cost field

The mistake
Using product.standard_price (registered cost) to value stock.
Why it happens
standard_price can be zero while the stock carries real valuation in FIFO/AVCO layers. The value exists; the field just does not show it.
How we handle it
Use stock.quant.value, Odoo's own accounting valuation.
Evidence from a real database
Company 2 in the reference database: 140 idle products have standard_price = 0 but carry real valuation in stock.quant.value, two thirds of the dead stock. Ask AI threw that value away and reported 6% of the real total on one try and 16% on another.

Sample presented as the total

The mistake
Listing the 5 largest items and calling their sum the 'total tied-up value'.
Why it happens
The user reads it as the total and underestimates the problem by an order of magnitude.
How we handle it
ALWAYS sum the whole set. The item list is an explicit excerpt, with the total of the set next to it.

Non-internal location

The mistake
Summing quants from virtual locations (scrap, production, transit, vendor).
Why it happens
It would inflate the balance with accounting counterparts that are not your stock.
How we handle it
Filter location_id.usage = 'internal'.

What it warns you about without being asked

Alerts from this metric on the reference database, on Oct 5, 2026:

Company 1: 2 idle products have no valuation in Odoo (35 units). The real tied-up value is higher than reported.

Company 2: 35 idle products have no valuation in Odoo (139 units). The real tied-up value is higher than reported.

Where the number comes from

Audit trail

Odoo model
stock.quant + stock.move
Fields
stock.quant.product_id, stock.quant.quantity, stock.quant.value, stock.quant.location_id.usage, stock.move.date, stock.move.location_id.usage, stock.move.location_dest_id.usage
Why this path
stock.quant gives the balance and the valuation Odoo actually uses in accounting. stock.move filtered by moves out of internal locations defines what sold.

How you can adjust it

ParameterWhat it doesOptions
Companies company ids, always explicit —
Period {from}: treats as idle whatever had no outgoing move since that date; replaces 'days without outgoing'. The balance is always today's —
Days without outgoing moves how many days without outgoing movement to count as idle —
Filters narrow down by categories, locations or products (lists of ids; category and location include their children) categories, stock locations, and products
Group by breakdown of the idle value inside each company company, category, and stock location
Sort by order of the listed products amount, units, and product
Items listed how many products to detail per company; the total always covers the whole set —

Validation

Date
October 5, 2026
Checked against
Independent recount, auditing how much escapes through zero valuation (co. 1: 2 products/35 units; co. 2: 35 products/139 units).
What Odoo's native AI answered
Odoo 19.3 Ask AI: under 4% of the real total for company 1; for company 2, two different answers to the same question, 6% and 16% of the real total.
Validated Odoo versions
14.0, 16.0, 17.0, 18.0, 19.0, 20.0, saas~19.2+e, saas~19.3+e
Note
Does not use read_group. stock.quant.value requires stock accounting to be enabled. On Community 14 and 16 to 20, reading the stock value (stock.quant.value) requires the "Inventory / Administrator" group on the connection user.

Calculation validated on version 1.0.0. Version 1.1.0 keeps the same calculation and adds period, filters and grouping; it passed the automated tests and will be revalidated on the real database.

Homologated on Odoo versions 14 and 16 to 20.

Need a variation of this metric, or another one that does not exist yet?