Odoo 19 · 20Warehouse$49

ABC Analysis

Which few products carry most of the value that leaves your warehouse, and how steady their demand is - per warehouse and category, with the classes saved on the product

Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).

23 of 23

products with demand matched an independent recompute from the raw stock moves (value, rank, class and CV)

9 of 23

products carried 81% of the outgoing value in the made-up demo catalogue: the A class

31

automated tests in the app, none failing; 7 were added for the limits stated on this page

0.2 s

to run an analysis of 325 products and 1,745 outgoing moves in the test run; larger catalogues not tested

0

costs, reordering rules or counting schedules changed: it writes only its own records and the classes you save

Not

netted: a customer return does not reduce the outgoing value (see the known limits)

A few products carry most of the value that leaves a warehouse and many carry almost none, yet cycle counts, reorder reviews and the decision to stop buying something are often made without knowing which is which. ABC Analysis ranks every product by what actually went out to customers or into production, classes it A, B or C, and adds an XYZ class for how steady its monthly demand is. This page walks through it with screenshots of an Odoo 19 database holding a made-up hardware distributor, and with tables rendered from real readings of the same run; each picture says which it is.

It reads stock moves and writes only its own analysis records and the classes you choose to save. This page also says where its definitions bite: returns, part months, zero costs and saved classes.

Install it and a menu appears under Inventory, Reporting: ABC Analysis and ABC Classes. It needs only Inventory with its valuation module (stock_account). Only Inventory Administrators can use it.

How it works

What it keeps, what it changes, what it does not

Each line was tested or read in the code.

1 Set the period, scope and limits

Use it when you want to classify one warehouse, one category range or one quarter.Writes when saved

A ranking over everything for all time mixes seasons, shops and ranges that nobody counts or buys together.

Create an analysis and pick a period (the default is the last 12 whole calendar months), one or more warehouses, one or more product categories (sub-categories are included), and the class limits: A up to 80%, B up to 95%, X below CV 0.5, Y below 1.0, all changeable. Leave warehouses and categories empty for the whole company. Day boundaries follow the time zone of the user who runs it. This is a screenshot from Odoo 19 of a draft analysis for the Retail Store, before it is run: only Run Analysis is offered.

Warehouse and category filters narrow what is counted and what stock is held; they do not rank inside a warehouse unless you pick it. A period that starts or ends inside a month is allowed and counts that month in full.

A draft analysis before it is run. Real Odoo screen.

ABC Analysis: 1 Set the period, scope and limits

2 Run it and read what stood out

Use it when you want the answer in a few sentences before the table.Writes the lines

A table of 24 products tells you nothing until you have worked out how many matter.

Press Run Analysis . The form shows how many products are A, B and C, the outgoing value, the stock held in C at current cost, and a short What stood out text. In the demo run, 9 of the 23 products that went out (39%%) carried 81%% of the outgoing value of $118,876.50, 9 products were C and one of them (a discontinued hand saw) had stock and no outgoing move at all. Run again and the lines are replaced with a fresh result.

It does not forecast. Stock held is quantity on hand times the product's current cost, not what it was bought for.

The analysis after the run. Real Odoo screen (Odoo 19).

The counts and the findings text from the same run. Real Odoo screen.

ABC Analysis: 2 Run it and read what stood out
ABC Analysis: 2 Run it and read what stood out

3 Products by rank

Use it when you want to see which product is A, which is B and why.Read-only

A class letter with no figures behind it cannot be argued with or checked.

Open the product list from the analysis: each product has its rank, outgoing quantity and value, its share and the running share, the ABC class, the months with demand, the coefficient of variation behind the XYZ letter, and the stock on hand with its value. A product is A while the products ranked above it hold less than the A limit, so the product that crosses 80% is still A. The sheet below is rendered from the real lines of the demo run on Odoo 19; it is a table, not a screenshot of the Odoo list, because that list is too wide to show at a readable size.

Products with the same value at a class line are ordered by product id, so one of them can land in the other class.

All 24 lines of the demo run, read from the app. Evidence table.

ABC Analysis: 3 Products by rank

4 The ABC / XYZ matrix

Use it when you want to see where high value meets erratic demand.Read-only

ABC alone says what matters; it does not say what is hard to plan.

The matrix crosses the two letters: how many products and how much outgoing value sit in each of the nine cells. In the demo run six A products are steady (X) and one, the generator, is A and erratic (Z): the one to watch for stock-outs. The same figures are in the pivot view, the PDF and the Excel file. The first picture is rendered from the real figures; the second is the first page of the real PDF the app produced, cropped.

XYZ needs enough months to mean something: the findings text warns when the period covers fewer than three calendar months.

Class totals and matrix, read from the app. Evidence table.

The real PDF page, cropped to the class table and the matrix. It is a plain table layout.

ABC Analysis: 4 The ABC / XYZ matrix
ABC Analysis: 4 The ABC / XYZ matrix

5 Save the classes on the products

Use it when you want to count A items more often, or filter the product list by class.Writes on products

A result that lives only in a report is forgotten by the next count sheet.

Press Save Classes on Products and confirm. The ABC class, the XYZ class and the date are written onto each product in the analysis, separately for each company. You can then filter and group the product variants by class, open the ABC Classes list under Inventory, Reporting, and filter Physical Inventory to A, B or C items. After the demo save the 24 products held A 9, B 6, C 9, and the A items filter listed 15 of the 38 internal stock lines. Odoo 19's own list views were not screenshotted for this page; the table is read from the database.

Products outside the analysis keep their current class, and a saved class is never cleared: a product that sold out and left a later analysis stays A with its old date. The last save wins, so a company-wide monthly refresh can replace the classes of an earlier warehouse analysis.

Stock lines of the A products after the save. Evidence table.

ABC Analysis: 5 Save the classes on the products

6 PDF, Excel and the monthly refresh

Use it when you want to hand the result to a buyer, or keep it current without clicking.Excel writes an attachment

A ranking that goes stale in a drawer is worse than none.

Print PDF gives a landscape A4 with the findings, the class table, the matrix and every product. Export to Excel gives two sheets, ABC (a title block, then one row per product) and Matrix. Tick Refresh monthly on an analysis and a scheduled action on the 1st of each month moves its period to the latest whole months of the same length, runs it and saves the classes. Analyses without the tick are never touched. The table is the real file read back.

The scheduled refresh cuts days in UTC, not in the zone of the person who made the analysis, and it saves without asking. A product named like a formula or a link is now written to Excel as text (a fix in this version).

The title block, header and first rows of the real .xlsx. Evidence table.

ABC Analysis: 6 PDF, Excel and the monthly refresh

7 Checked against the raw moves

Use it when you want to know the arithmetic is right before you rely on it.Read-only

A class on a product is only as good as the sum behind it.

A separate script read every done outgoing move of the demo period and recomputed value, rank, class and coefficient of variation with its own arithmetic, with no module code. All 23 products with demand matched, with no difference, on both Odoo 19 and Odoo 20. The 24th product has stock and no demand. The first 12 rows are below.

First 12 of 23 products, each matched. Evidence table.

ABC Analysis: 7 Checked against the raw moves

The Excel fix in this version

Version 1.0.2 writes every text cell of the Excel file as text. Before, a product whose name began with = was written as a formula (the name was lost and the cell showed 0) and one whose name began with http became a clickable link. The table shows the old and the new reading.

Old and new reading of the same two names. Evidence table.

ABC Analysis: The Excel fix in this version

Screenshots

What it does not do

  • Each of these was reproduced in a run of the app on Odoo 19. Seven are covered by tests that pass; none is changed in this version.
  • Nine readings from real runs. Evidence table.

Requirements

  • Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
  • Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
  • Module mh_abc_analysis, version 19.0.1.0.3, licensed OPL-1.