- Home
- Odoo Integration
- Odoo inventory
Odoo inventory management in Odoo 20: how stock is valued and refilled, and where AI fits
Odoo Inventory is both a stock app and a warehouse system, in Odoo's words, and it comes in both Community and Enterprise. It values stock at standard price, FIFO or AVCO, and refills it by rule, make to order or a production plan. Odoo's own sales page says it uses "AI-driven demand forecasting", but its AI docs describe no stock agent.
What Odoo Inventory covers in Odoo 20
Odoo calls its Inventory app “both an inventory application and a warehouse management system”. It tracks what you hold and where it sits. Routes move products between locations through push and pull rules.
The code is open. Odoo’s public 20.0 repository holds the Inventory app, the stock module, under the LGPL-3 licence. Odoo’s Compare Editions page ticks Inventory for both Community and Enterprise. Barcode, the scanning app, is ticked for Enterprise only. The ticks are icons that a text copy loses, so we read them from the saved page’s code.
An integration or an agent reads and writes the records below. All four are defined in the stock module’s Odoo 20 code:
Scroll the table sideways to see every column.
| Record (model) | What Odoo’s code calls it | What it holds |
|---|---|---|
stock.quant |
Quant | A quantity of a product, with the location it sits in |
stock.move |
Stock Move | A move of products, with the source location it takes them from |
stock.picking |
Transfer | One transfer document: a receipt, a delivery or an internal transfer |
stock.warehouse.orderpoint |
Minimum Inventory Rule | A reordering rule, with the minimum forecast stock that triggers it |
Lots are one of the two ways Odoo tracks items. A lot usually stands for one batch you received, stored, shipped or made.
Odoo keeps two stock values, and they meet at closing
The Inventory app keeps a live value from every physical move. The Accounting app updates its own inventory value only when asked. That is most often at closing, or when bills and invoices post if you use perpetual valuation. Three settings and one accounting standard decide how the two meet:
Scroll the table sideways to see every column.
| Setting | Choices in Odoo 20 | What it changes |
|---|---|---|
| Valuation method | Perpetual (at invoicing) or Periodic (at closing) | When the books pick up stock changes |
| Cost method | Standard Price, FIFO or AVCO | What each unit is worth |
| Periodic Valuation | Manual, Daily or Monthly | How often closing entries run |
| Accounting standard in use | Continental or Anglo-Saxon | When cost of goods becomes an expense; Odoo describes it as a standard, not a setting |
Under Continental accounting, the cost is an expense when the vendor bill posts, usually on receipt. Under Anglo-Saxon accounting, cost of goods sold is an expense when the customer invoice posts, usually on sale. You can override the accounts and both methods per product category.
To check the gap, open Accounting, Review, Inventory Valuation. The Stock Variation line shows the difference between the posted value and the value in the Inventory app. Click Generate Entry, review the draft Stock Closing entry, then post it.
Five removal rules decide which stock leaves first
A removal rule picks which units go out on an order. Odoo 20 has five:
Scroll the table sideways to see every column.
| Rule | Picks by | Needs these features on |
|---|---|---|
| FIFO, first in first out | Incoming date, oldest first | Lots & Serial Numbers |
| LIFO, last in first out | Incoming date, newest first | Lots & Serial Numbers |
| FEFO, first to expire first out | Removal date | Lots & Serial Numbers, Expiration Date |
| Closest Location | Location sequence, by the location’s name | Storage Locations, Multi-Step Routes |
| Least Packages | Package quantity closest to the demand | Packages |
FIFO is the default. Odoo uses it whenever no rule is set on the location or the product category. When the two disagree, the Force Removal Strategy on the product category wins.
Don’t mix up the two lists. FIFO appears in both: as a cost method and as a removal rule. LIFO is a removal rule only. It is not one of Odoo’s three cost methods, so in Odoo it decides which units ship, never what they are worth.
Three ways to refill stock, and when each one fires
Odoo’s replenishment page names three ways: reordering rules, the make to order (MTO) route, and the master production schedule (MPS).
- Reordering rules. Each rule keeps forecast stock above a minimum without going past a maximum. An automatic rule creates the order. A manual rule only suggests it on the replenishment report.
- Buying. For a product on the Buy route, a rule that fires creates a request for quotation (RFQ). Odoo makes it out to the vendor at the top of the product’s vendor list.
- Make to order. Odoo drafts a purchase or manufacturing order the moment a sales order is confirmed. Nothing waits for stock to run low.
- Master production schedule. Planning against a forecast you type or have Odoo suggest from past demand. Our Odoo MRP page covers it, and why Odoo says not to mix it with reordering rules.
Two settings on the replenishment report change the timing. Horizon days set how far ahead Odoo looks for stock that will drop below a rule’s minimum. Snooze turns a rule off for a set time and hides it from the report.
Odoo can also set the rule levels for you. Pick some rules on the replenishment report and click Suggest. Odoo works out a new minimum and maximum from past orders. You choose the period, such as the past 7 days or last quarter. In Odoo 20, the release notes say, the suggestion also weighs how many days of cover you want and how often you order.
Count once a year, or each location on its own clock
Odoo assumes one full count a year. By default, the Inventory app sets that count for 31 December of the current year, so every location comes due on the same day unless you change it.
Cycle counts run by location, so the Storage Locations feature must be on first. Each location has an Inventory Frequency field, in days, which starts at 0. Set it to 30 and that location comes up for a count every 30 days once the first count is done.
Odoo suggests reorder levels; a stock agent is an add-on
Odoo’s Inventory sales page claims “AI-driven demand forecasting”. Under smart replenishment, it says Odoo sets minimum and maximum stock from recent sales and days of cover. Then it drafts purchase orders. Odoo’s AI docs, read for our fact base on 18 November 2026, describe no agent for stock.
An outside AI client can work on stock through Odoo’s own MCP server. It reads by default, and it writes once your admin exposes Update Records or Create Records, as our Odoo MCP page shows.
An agent fits a stock job that starts outside Odoo. One example is a supplier email that moves a delivery date. An agent can read it and draft the new date on the receipt for a person to confirm. Other software that writes to Odoo uses the external API, which Odoo offers only on its Custom plan. An agent that lives inside Odoo as a module needs Odoo.sh or your own server, since Odoo’s docs say Odoo Online is incompatible with custom modules and Apps Store modules. Our Odoo AI agents page covers that kind of build.
Our team’s stock work
Our team has taken nine ERPs live, from SAP to QuickBooks, so which one you run stays your choice.
One ERPNext rollout for a food manufacturer put procurement and inventory live first. That is where the stock gaps were. The case study: a full ERPNext rollout for a food manufacturer sets out how it ran.
For the Odoo setup itself, see Odoo implementation. For stock dashboards, see our Odoo dashboards page.
The first call is free.
Questions
What are the four inventory valuation methods?
Odoo 20 gives you three cost methods, not four: Standard Price, First in First Out (FIFO) and Average Cost (AVCO). On top of that you pick when the books update, Periodic at closing or Perpetual at invoicing. LIFO exists in Odoo too, but only as a removal rule. It decides which units leave the shelf first, not what they cost.
How do I calculate inventory valuation in Odoo?
Odoo does the sum for you. Open Accounting, Review, Inventory Valuation. The Stock Variation line shows the gap between the value already posted and the value the Inventory app holds. To post that gap, click Generate Entry, check the draft Stock Closing entry and post it. The Inventory app itself keeps a live value from every move.
Is Odoo Inventory open source?
Its code is. Odoo publishes the Inventory app, the stock module, in its public 20.0 repository under the LGPL-3 licence. Odoo's Compare Editions page ticks Inventory for both editions: Community, the open-source one, and Enterprise, the licensed one. Barcode, the scanning app, is ticked for Enterprise only.
Does Odoo reorder stock on its own?
It can. An automatic reordering rule creates a purchase or manufacturing order when stock falls to the minimum, and fills back up to the maximum. A manual rule only suggests the order on the replenishment report. With make to order, Odoo drafts the purchase or manufacturing order the moment a sales order is confirmed.
Can Odoo pick stock by expiry date?
Yes, once Lots & Serial Numbers and Expiration Date are on. Then the FEFO removal rule, first to expire, first out, picks by each lot's removal date. Lots are one of the two ways Odoo tracks products, and a lot usually stands for one batch you received or made. FIFO stays the default whenever no rule is set on the location or the product category.
Does Odoo's AI manage inventory?
Odoo's sales page for Inventory claims "AI-driven demand forecasting". It says Odoo sets minimum and maximum stock from recent sales. Odoo 20 also suggests reorder levels from past demand. Odoo's AI docs describe no stock agent. An outside AI client can read stock through Odoo's MCP server. It can write once your admin turns on Update Records or Create Records.
Which software should we use for inventory management?
Pick the system by the jobs, not the label. Our team has taken nine ERPs live, from SAP to QuickBooks, so which one you run stays your choice. If you look at Odoo, the questions to settle are your cost method, your removal rule, how you refill stock and how often you count each location.
Sources
Every source behind a figure or a vendor fact on this page, with the day we read it.
- Odoo 20 documentation, InventoryRead 19 Nov 2026
- Odoo source on GitHub, stock module manifest, 20.0Read 19 Nov 2026
- Odoo 20 documentation, Inventory valuationRead 19 Nov 2026
- Odoo 20 documentation, Removal strategiesRead 19 Nov 2026
- Odoo 20 documentation, ReplenishmentRead 19 Nov 2026
- Odoo 20 documentation, Replenishment reportRead 19 Nov 2026
- Odoo 20 documentation, Reordering rulesRead 18 Nov 2026
- Odoo 20 documentation, Cycle countsRead 19 Nov 2026
- Odoo 20 documentation, Lot numbersRead 19 Nov 2026
- Odoo 20 documentation, Routes and push/pull rulesRead 19 Nov 2026
- Odoo, Compare EditionsRead 18 Nov 2026
- Odoo 20 documentation, External JSON-2 APIRead 18 Nov 2026
- Odoo, Inventory featuresRead 18 Nov 2026
- Odoo, Odoo 20 release notesRead 19 Nov 2026
- Odoo 20 documentation, AI MCP serverRead 19 Nov 2026
- Odoo 20 documentation, Available MCP toolsRead 18 Nov 2026
- Odoo 20 documentation, Odoo OnlineRead 18 Nov 2026
Bring your stock rules to a first call
The first call is free. Bring your warehouses, how you value stock today and the reorder rules you run, and we can talk through how each one works in Odoo 20.