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/adjusted-in-one-location-to-check-in-the-other · November 30, 2026

Adjusted in one location, to check in the other

What did I adjust at the store that still needs checking at the warehouse?

Verified Metric version 1.0.0

What it is

Products that had an inventory adjustment in the last 30 days in one location (the first the question names, such as the store) and still have stock in the other (such as the warehouse) with no adjustment there since. Each location is the internal location whose full name has the word said in the question. Each row has the product, the adjustment date, the location to check and its stock there. The total is the number of rows.

What it is not

  • It does not guess which location is the store and which is the warehouse: it uses the question's words.
  • It does not say the other location's stock is wrong: it says it was not checked after the adjustment.
  • It does not count a sale or a transfer as an adjustment: only the inventory adjustment.

Pitfalls this metric handles

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

Guessed location

The mistake
Assuming which location is the store and which is the warehouse.
Why it happens
Each database names them its own way; a wrong guess sends the person to the wrong place.
How we handle it
Only the question's words; with no location having them, the answer says what is missing.

Sale counted as an adjustment

The mistake
Counting every move as a check.
Why it happens
Sales and transfers change the stock, but nobody counted the shelf.
How we handle it
Only a move with the inventory adjustment location counts as an adjustment.

Where the number comes from

Audit trail

Odoo model
stock.move + stock.location + stock.quant
Fields
stock.move.location_id | location_dest_id (usage = inventory), stock.move.date, stock.location.complete_name, stock.quant.quantity
Why this path
The inventory adjustment is the move between the location and the adjustment location (type "inventory"), the same as Inventory → Reporting → Moves History.

How you can adjust it

ParameterWhat it doesOptions
Companies company ids, always explicit —
Adjusted location the word in the name of the location where the adjustment happened ("store") —
Location to check the word in the name of the location to check ("warehouse") —
Window in days the window of adjustments, in days (default 30) —
Items listed how many rows 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, with a synthetic store and warehouse. 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 and the "internal" and "inventory" location types 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?