Skip to Content

How to assign a cost center to inventory consumption in Odoo without errors

Learn step by step to configure analytic distributions on inventory moves to get correct margins and expenses per project or department
July 15, 2026 by
How to assign a cost center to inventory consumption in Odoo without errors
Wilfredo Fernando Pastor Avila
| No comments yet

The problem of a wrong margin due to missing analytic distribution

Imagine you work for a construction company running several projects at the same time. Your warehouse team records material outflows without assigning a cost center. At the end of the month, accounting presents you with an income statement where the main project's margin looks very low, but you don't know whether you really spent a lot on that project or whether the consumption was recorded without distribution. After hours of review, you discover that inventory outflows are booked to a general expense account with no analytic dimension. The accounting information does not reflect the reality of each project. To solve this, you need to implement analytic distribution on inventory moves.

Step 1: Make sure products have value and the correct configuration

For a consumption to generate an expense or cost, the product must be valued. Configure the product category with a costing method (FIFO, average, etc.) and use perpetual valuation. Only then will accounting entries be generated on inventory moves that actually involve consumption.

Example: At Ganemo, an industrial-sector client had products with no value because they used periodic valuation. When they switched to perpetual, each consumption started generating entries with the correct expense account. Their accounting team could finally see the real cost of materials per production line.

Step 2: Configure consumption locations with an accounting account

A location of type 'consumption' must have a defined accounting account. Without that account, even if the category is well configured, Odoo will not generate the valuation. Create specific locations (e.g. "Consumption Project A") and assign an expense or cost of sales account as appropriate.

Example: At a services company using Ganemo, they created a location called "Marketing Consumption" with an advertising expense account. Now, whenever they take flyers for a campaign, the expense is automatically assigned to the right department.

Step 3: Create operation types to simplify recording

Define specific operation types such as "Project Consumption" with an internal transfer and the consumption location as destination. This speeds up warehouse work and ensures consistency.

Example: A Ganemo client with 50 active projects created one operation type for each type of consumption (projects, maintenance, R&D). Now operators just select the type and the location is already predefined, reducing errors.

Step 4: Activate analytic account management in Odoo

Go to Accounting > Configuration > Settings and enable "Analytic Accounting" and "Analytic Distributions". This enables the analytic plans and distributions menus.

Example: A company that had not enabled this option thought distribution was not working. Once they turned it on, they could use Ganemo's predefined analytic plans and assign cost centers to their consumption.

Step 5: Record the consumption with analytic distribution

From Inventory, create a transfer using the consumption operation type. In the header, assign the analytic distribution (e.g. 50% Project Activa, 50% Production Department). This distribution is applied by default to all lines, but can be edited per line.

Example: A Ganemo client needed to assign screw consumption to two projects at 50%. They used the header distribution, but for a glue line they changed it to 100% for one specific project by editing the line. The resulting accounting entry correctly reflected the analytic accounts.

Step 6: Verify the generated accounting entry

When you validate the move, an accounting entry is generated. Review it from the inventory moves menu; the analytic distribution applies only to the expense account (not to the asset account).

Example: At Ganemo, a client checked that the entry for their consumption of 1,000 units had the correct analytic distribution on the cost of sales account, while the inventory account had no analytic distribution at all, just as they expected.

How to get this functionality

If you are a Ganemo client with an active inventory maintenance plan, you can install the "Stock Analytic Distribution" app at no additional cost. If not, it is available in the Odoo App Store (author: Ganemo). You can also buy it directly from Ganemo's e-commerce with a discount if you are a subscriber to any membership.

Don't let errors in analytic distribution affect your margins. Configure your inventory correctly and start making decisions based on real data.

Related video

How to assign a cost center to inventory consumption in Odoo without errors
Wilfredo Fernando Pastor Avila July 15, 2026
Share this post
Tags
Archive
Sign in to leave a comment
Your quotation wastes space in the validity row: Take advantage of it with the fiscal position without programming
Discover how to customize the Odoo quotation report using artificial intelligence, without writing code or touching the original design