Technical

Odoo Inventory Valuation: Periodic vs Perpetual, FIFO, AVCO

How Odoo values stock: manual vs automated valuation, FIFO and average cost, the stock input and output accounts, landed costs, and a step-by-step way to reconcile the stock valuation report with the balance sheet.

Kalvyai Engineering · · 7 min read

Odoo Inventory Valuation: Periodic vs Perpetual, FIFO, AVCO (cover)
On this page

Inventory valuation is where Odoo's Inventory and Accounting apps meet. When it is set up well, the stock valuation report and the inventory line on your balance sheet show the same number. When it is not, month-end turns into a hunt for differences.

This post covers the settings that drive valuation, the journal entries Odoo creates, how FIFO and average cost behave, what the stock input and output accounts are for, how landed costs fit in, and a repeatable way to reconcile.

Version note: the behaviour below describes Odoo versions that use stock valuation layers (stock.valuation.layer), roughly 13 to 18. Newer versions have reworked parts of valuation. Confirm field names, menus and account setup for your exact Odoo version before applying anything here.

Two settings decide almost everything

Valuation is configured on the product category, not on the individual product. Each category has two key fields:

  1. Costing Method: Standard Price, Average Cost (AVCO) or First In First Out (FIFO).
  2. Inventory Valuation: Manual (periodic) or Automated (perpetual).

In some versions the Automated option and the category accounts are only visible after enabling a setting.

Because these fields live on the category, a common mistake is mixing products that need different treatment in one category. Group categories by how they should be valued and which accounts they post to, not just by how you browse the catalogue.

Periodic (manual) valuation

With manual valuation, Odoo still tracks quantities and computes a value for each stock move, but it does not post journal entries when stock moves.

What happens in the books:

  • A vendor bill for stocked goods posts to the expense account configured for the product or category.
  • Receipts and deliveries create no accounting entries.
  • At period end, your accountant reads the stock valuation report and posts a manual entry to move the change in inventory value between the balance sheet and the P&L.

This suits smaller businesses that close monthly or quarterly and have an accountant comfortable with that adjustment. The cost is that the balance sheet is only correct right after the manual entry, and nothing in the system forces the two figures to agree.

Perpetual (automated) valuation

With automated valuation, every stock move that changes value creates a journal entry. The category needs these accounts:

  • Stock Valuation Account: the balance sheet inventory account.
  • Stock Input Account: an interim account used on receipts.
  • Stock Output Account: an interim account used on deliveries.
  • Stock Journal: the journal the entries are posted in.

A typical purchase-to-sale cycle looks like this (using Anglo-Saxon accounting, where cost of goods sold is recognised with the customer invoice):

Plain text
1. Receive goods (10 units at 5.00)
   Dr Stock Valuation        50.00
   Cr Stock Input            50.00

2. Post vendor bill
   Dr Stock Input            50.00
   Cr Accounts Payable       50.00

3. Deliver to customer (4 units)
   Dr Stock Output           20.00
   Cr Stock Valuation        20.00

4. Post customer invoice
   Dr Accounts Receivable    (sale price)
   Cr Revenue                (sale price)
   Dr Cost of Goods Sold     20.00
   Cr Stock Output           20.00

Whether COGS is posted at delivery or at invoice depends on your accounting localisation and the Anglo-Saxon setting.

Costing methods: Standard, AVCO and FIFO

The costing method decides what value is used when goods leave stock.

Standard Price

Every unit is valued at the product's cost field. Receipts at a different price create a difference that has to go somewhere. Standard cost works well for manufactured items with a maintained cost, less well for traded goods with moving purchase prices.

Average Cost (AVCO)

Each receipt recalculates the product cost as a weighted average. Outgoing moves use the current average.

FIFO

Odoo keeps a valuation layer per receipt with a remaining quantity and remaining value. Outgoing moves consume the oldest layers first.

Worked example

Receive 10 units at 5.00, then 10 units at 7.00, then deliver 15 units.

FIFO

AVCO

Cost of 15 units delivered

10 × 5 + 5 × 7 = 85.00

15 × 6 = 90.00

Value of 5 units remaining

5 × 7 = 35.00

5 × 6 = 30.00

Total is 120.00 in both cases. Only the split between COGS and inventory changes.

Negative stock

If you deliver before you receive, Odoo creates an outgoing layer at the current cost and corrects it when stock arrives. These corrections are valid, but they make reconciliation harder to read. If negative stock is common, fix the process first.

What the stock input and output accounts tell you

The interim accounts are not just plumbing. Their balances mean something:

  • Stock Input balance (credit): goods received but not yet billed. This is effectively your goods-received-not-invoiced figure.
  • Stock Input balance (debit): goods billed but not yet received.
  • Stock Output balance (debit): goods delivered but not yet invoiced to the customer.

In a clean system these accounts hold only open items. If the Stock Input account has a balance that keeps growing, typical causes are:

  1. Vendor bills created without linking to the purchase order, so the bill line posts to an expense account instead of Stock Input.
  2. Bills at a different price or quantity than the receipt, with the difference not handled.
  3. Receipts cancelled or returned without a matching credit note.

Review these accounts monthly, matched against open purchase orders and unbilled deliveries.

Landed costs

Landed costs add freight, duties, insurance and similar charges to the value of received goods, so they end up in inventory and later in COGS rather than going straight to expense.

They only change product value for FIFO and AVCO products with automated valuation.

Setting up and posting a landed cost

  1. Enable landed costs in Inventory settings.
  2. Create a service product for each cost type (freight, customs duty) and mark it as a landed cost, choosing a default split method.
  3. Set the account on that product that the landed cost should be credited from. Often this is the account the freight bill was posted to, so the two net off.
  4. Create the landed cost, either from Inventory or from the vendor bill for the freight.
  5. Select the receipts (transfers) it applies to.
  6. Choose the split method per line. Options include equal, by quantity, by current cost, by weight and by volume. Weight and volume only work if those fields are filled on products.
  7. Compute, review the valuation adjustment lines, then validate.

On validation, Odoo debits the Stock Valuation Account and credits the landed cost line's account, and adds the amount to the affected valuation layers.

Timing matters

If some of the goods were already delivered before the landed cost is validated, part of the cost relates to stock that is gone. The practical rule is to post landed costs as soon as the bills arrive, ideally before goods are sold.

If freight and customs bills arrive as PDFs, our Kalvyai Document Scanner scans vendor bills into verified Odoo drafts, which shortens the gap between the bill arriving and the landed cost being posted.

Reconciling the valuation report with the balance sheet

With automated valuation, the total of the stock valuation report for a company and date should equal the balance of the Stock Valuation Account(s) at that date. Here is a procedure that works.

Step by step

  1. Pick one date and one company. Usually the last day of the month.
  2. Run the stock valuation report as at that date. Group by product category.
  3. Run the balance of each Stock Valuation Account at the same date from the general ledger or trial balance.
  4. Map categories to accounts. If several categories share one valuation account, add their report totals together.
  5. Compare per account, not just in total. A difference on one account is far easier to trace.
  6. Find entries on the valuation account that did not come from stock, then find valuation layers that did not create entries. These two lists usually explain the gap.

Queries that help

Run these read-only, ideally on a copy of the database. Table and column names apply to versions with stock_valuation_layer.

Total value from valuation layers:

SQL
SELECT SUM(svl.value) AS layer_value
FROM stock_valuation_layer svl
WHERE svl.company_id = 1
  AND svl.create_date < '2025-01-01';

Balance of the valuation account:

SQL
SELECT SUM(aml.balance) AS gl_balance
FROM account_move_line aml
JOIN account_move am ON am.id = aml.move_id
WHERE aml.account_id = 123  -- your Stock Valuation Account id
  AND aml.company_id = 1
  AND am.state = 'posted'
  AND aml.date < '2025-01-01';

Note that layers use their creation timestamp while journal items use the accounting date. Backdated moves or entries can put the two on different sides of your cut-off.

Posted entries on the valuation account that have no valuation layer:

SQL
SELECT am.name, aml.date, aml.balance, aml.name AS label
FROM account_move_line aml
JOIN account_move am ON am.id = aml.move_id
WHERE aml.account_id = 123
  AND am.state = 'posted'
  AND NOT EXISTS (
      SELECT 1 FROM stock_valuation_layer svl
      WHERE svl.account_move_id = am.id
  )
ORDER BY aml.date;

This list will usually contain manual journal entries and opening balances. It may also contain landed cost entries depending on how they are linked.

Valuation layers with no journal entry:

SQL
SELECT svl.id, svl.create_date, svl.product_id, svl.value, svl.description
FROM stock_valuation_layer svl
WHERE svl.company_id = 1
  AND svl.account_move_id IS NULL
  AND svl.value <> 0
ORDER BY svl.create_date;

For products in manual-valuation categories this is expected. For automated categories, each row is a candidate for the difference.

Common causes of a difference

  • Manual journal entries posted directly to the Stock Valuation Account.
  • Category changes: a product moved between categories, or a category's accounts changed, leaving old balances on an account that no longer maps.
  • Switching manual to automated (or back) mid-year without an opening entry.
  • Mixed categories: some products on manual valuation sharing an account with automated ones.
  • Date cut-off: backdated stock moves or journal entries.
  • Multi-company: one valuation account used across companies, or the report run for the wrong company.
  • Draft or cancelled entries: a layer exists but its journal entry was reset to draft.

Changing the costing method or valuation later

Changing the costing method or switching between manual and automated on a category with stock on hand causes Odoo to revalue: it creates layers that take the stock out at the old value and put it back at the new one, with journal entries if valuation is automated.

If you need to change:

  1. Do it at a period boundary, right after a clean reconciliation.
  2. Test on a copy of the database and review every entry it creates.
  3. Document the change so your auditor can follow the movement.

How Kalvyai can help

We set up and repair Odoo inventory valuation: designing product categories and accounts, moving from periodic to perpetual valuation, cleaning up interim accounts, configuring landed costs, and building reconciliation checks that run before month-end rather than after. See our Odoo services, browse our apps at store.kalvyai.com, or contact us with your version and the difference you are trying to explain.

Share this article

  • Odoo
  • Inventory Valuation
  • Accounting
  • FIFO
  • Landed Costs
  • Reconciliation

Kalvyai Engineering · Engineering team

The engineers who build, connect and fix business systems at Kalvyai: Odoo, ERPNext, Shopify and AI agents that work inside them with approvals, budgets and an audit trail.

Comments

No comments yet. Questions and corrections are welcome.

Rate this post or leave a comment

Your rating (optional)
Not rated

Comments appear after an editor approves them. See our privacy notice.

Read next

WooCommerce Odoo Integration: Sync Rules, Stock, Orders, Taxes (cover)Technical
Kalvyai EngineeringOdoo

WooCommerce Odoo Integration: Sync Rules, Stock, Orders, Taxes

A practical guide to connecting WooCommerce and Odoo through the WooCommerce REST API: what to sync in which direction, how to push stock and prices, import orders safely, map taxes and avoid duplicate customers and orders.

8 min read

Tally to Odoo Migration: What to Move, Map and Check (cover)Technical
Kalvyai EngineeringOdoo

Tally to Odoo Migration: What to Move, Map and Check

A practical guide to moving from Tally to Odoo: which masters, balances, open invoices and stock to bring, what to leave in Tally, how to map ledgers and set up GST, and how to run a parallel month.

7 min read

Newsletter

Get new guides in your inbox.

Practical notes on Odoo, ERPNext, Shopify and AI agents, written by the engineers who build them. No spam, and you can ask to stop at any time.

Prefer a feed? Subscribe by RSS. We use your email only to send new articles. See our privacy policy.