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/count-progress · November 30, 2026

Count progress

How much of the stock is already in bins, and how much is still loose?

Verified Metric version 1.0.0

What it is

Today's positive stock in the company's internal locations, split into binned (in a location with no other inside it, such as a shelf) and loose (in a location that has bins inside, such as the store's "Stock"). It shows the units and products on each side, the binned share and the loose locations with the most stock. Negative stock is counted separately. The total is the number of loose units.

What it is not

  • It is not the stock value: it counts units and products.
  • It does not say the bin is right: only that the stock is in a bin.
  • It does not include transit, customer, supplier or inventory adjustment.

Pitfalls this metric handles

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

Negative added to the binned stock

The mistake
Adding negative stock together with positive.
Why it happens
The negative lowers the total and hides how much is still to be binned.
How we handle it
Only positive stock counts; the negative goes separately, in the alert.

Database without bins

The mistake
Saying everything is loose in a database that does not use bins.
Why it happens
Without a location inside a location, there is nothing to bin.
How we handle it
With no loose location, the answer says the company does not use bins.

Where the number comes from

Audit trail

Odoo model
stock.quant + stock.location
Fields
stock.quant.quantity, stock.quant.location_id, stock.location.location_id, stock.location.usage
Why this path
stock.quant is each product's stock in each location; the location tree says what is a bin and what is loose.

How you can adjust it

ParameterWhat it doesOptions
Companies company ids, always explicit —
Items listed how many loose locations to show on screen; the Excel file carries all —

Validation

To be validated on a real database. The method comes from a script that already ran in a customer's operation, and the calculation passes the automated tests against the demo database. IntData has not yet checked it on a real database; until then, check the first result in Odoo using the path in the audit trail.

Date
November 10, 2026
Checked against
Demo database, location by location. To be validated on a real database.
Expected Odoo versions
14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0
Note
The fields read exist from 14 to 19 and on master (the reference for 20), checked in the official code. It does not use read_group.

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