OdooWiki OCA HUB

Stock Inventory Theoretical Quantity History

stock_inventory_quantity_history folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse Management License: AGPL-3

When doing inventories, keep history of the theoretical and real quantity

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Keeps a record of the theoretical and real quantities at the moment an inventory adjustment is made, so you can see what the system expected versus what was actually counted.

When you adjust stock through an inventory, Odoo normally only keeps the final corrected quantity. This module adds two extra pieces of information to the stock movement line created by that adjustment: the theoretical quantity (what the system believed was in stock just before the count) and the real quantity (what was actually counted).

These two values are filled in automatically when the inventory adjustment movement is generated, based on the quantity and the counted quantity of the stock quant being adjusted. They are read-only, so they cannot be changed by hand afterwards.

You can see them on the stock move line screen: in the form view they appear as "Theoretical Quantity" and "Real Quantity" next to the unit of measure, and in the list view they are available as optional columns that you can show or hide.

The module only touches stock move lines and stock quants. It does not add new menus, reports or scheduled actions; it simply enriches the existing inventory movement records with the before/after quantities for traceability.

Depends on

stock
Models and fields (2)
  • stock.quant · extends an existing model
  • stock.move.line · extends an existing modelinventory_real_qty, inventory_theoretical_qty

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 16.0

After validating an inventory, you can go to Inventory => Reporting => Moves History On this screen you will find the 2 new fields containing the Theoretical and real quantity at the time the inventory was made.

No verified information in OCA: Installation, Configuration.

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.