Skip to Content

Migrating your stock to Odoo 20 without counting it twice

Opening balance, initial inventory and stock closing, then the Belgian closing: deferred charges (490/493), bills to receive (444) and reversal. Tested in a database.
November 26, 2026 by
Migrating your stock to Odoo 20 without counting it twice

You are leaving Winbooks (or another package) for Odoo 20. Your accountant sends you the opening balance, your storekeeper counts the shelves, and both end up in Odoo. Three months later, the stock account shows twice what is in the warehouse, or the profit and loss account carries an expense nobody can explain. We replayed these migrations in a Belgian Odoo 20 database to see what the stock closing actually does. Here is the order that counts nothing twice, the three ways to get it wrong, and the closing work that goes with it: deferred charges, bills to receive and reversals.

1. What changes with Odoo 20

Odoo 20 drops the “valuation layers” of earlier versions. Stock value is computed from the moves and the product cost, and accounting picks it up in one of two ways, set in the accounting settings (Inventory Valuation):

  • Periodic (at closing). This is the default. Stock receipts and deliveries post no journal entry; the closing is what updates the stock account.
  • Perpetual (at invoicing): the vendor bill for a stored product goes straight to the stock account.

(At the time of writing, these two labels and a few other V20 labels still appear in English in the French interface. We quote them as they appear on screen.)

The closing is run from Review › Inventory › Inventory Valuation, with the Generate Entries button. What it computes is simple, and it is the whole point of this article: physical stock value minus the stock account balance. It only posts that difference, against the stock variation account (6090 in the Belgian chart of accounts). If the stock account already holds the right value, there is nothing to post and Odoo replies Everything is correctly closed.

💡 Key takeaway

With periodic valuation, the closing never doubles stock that was migrated correctly: it compares and posts the gap. The duplicate comes from what you give it to compare.

2. The order that counts nothing twice

Our test: a new Belgian company (chart of accounts for companies), one stored product at a cost of €10.00, 100 units in the warehouse, so €1,000.00 of stock. Here is the order that gives an empty closing.

  1. Set the opening date to the first day of the financial year (01/01/2026), before entering anything. By default, Odoo uses today’s date. The opening entry is dated the day before: 31/12/2025.
  2. Load the opening balance, stock account included: the 300 balance taken over from Winbooks (€1,000.00) goes into the Solde d’initialisation au débit (opening debit) column of the Revoir le plan comptable (review chart of accounts) step, like the other accounts, then Validate and Post.
  3. Put the cost on the product forms (Cost field).
  4. Load the inventory: Inventory › Adjustments › Physical Inventory, Counted column, then Apply. With periodic valuation, this step creates no journal entry (0 in our test): it only creates the stock value, €1,000.00.
  5. Run the closing: €1,000.00 in the warehouse, €1,000.00 on account 300. Result: Everything is correctly closed, no entry.

What about the cost at import? The physical inventory has no cost column: the value comes from the product’s Cost. We ran the test backwards: 50 units counted while the cost was €0.00, so a zero value, then the cost changed to €12.00. The value is recomputed on its own to €600.00, without any journal entry, with standard cost as with average cost (AVCO). With periodic valuation, the order cost then quantities is therefore not critical. One rule only: the closing comes after the costs are right.

When there is a real gap, for instance a balance saying €1,200.00 for a count worth €1,000.00, the closing posts €200.00: credit 300, debit 6090. Odoo adds a second pair of lines to this entry, Stock Variation Over Period, between 6090 and 600. After a first closing, our test had the €200.00 expense in 600. A second closing moved it to 6090, and a third replied Everything is correctly closed. The total expense is €200.00 at every step; only the profit and loss line changes.

💡 Key takeaway

Opening date on 01/01, opening balance with the 300, costs, count, closing. Run the closing again until you read Everything is correctly closed: that message is your proof that accounting and the warehouse say the same thing.

3. Three ways to count stock twice

1. The balance loaded twice. The most common case: the opening balance contains the 300, and someone also posts a miscellaneous “opening stock” entry for the same amount. Account 300 shows €2,000.00 for €1,000.00 in the warehouse. The closing puts the balance sheet right (credit 300 for €1,000.00), but the counterpart is an expense of €1,000.00 in the profit and loss account. The balance sheet is right and the result is wrong, which is much harder to spot.

2. An account set on the inventory adjustment location. The virtual Inventory adjustment location can carry a Loss Account. In the Belgian chart of accounts, it carries none by default. If you set one, with perpetual valuation every inventory posts its own entry: our initial count posted debit 300, credit 6094 for €1,000.00, and the 300 rose to €2,000.00 with the opening balance. With periodic valuation, the closing posts a 300 / 6094 reclassification and cancels it straight away with a 300 / 6090 variation. The effect on the result is nil, but two profit and loss lines are inflated by €1,000.00. For the migration, leave this account empty.

3. An opening dated mid-year. We posted the same balance as a miscellaneous entry on 01/06/2026, with stock that was nevertheless right. The closing posted €1,000.00 between 600 and 6090 (Stock Variation Over Period), because Odoo measures the change in the stock account since the start of the financial year. The effect on the result is again nil, but your raw material purchases look inflated by €1,000.00. The same entry dated 01/01/2026 gives an empty closing.

For completeness: perpetual valuation on its own doubles nothing. With the default Belgian settings, the inventory posts no entry there and the closing was empty in our test. The duplicate only appears if you add the loss account.

💡 Key takeaway

A migration closing that posts something on stock you know is right is a symptom. The Inventory Valuation report shows the amounts before you click, and Generate Entries posts at once: read the report first, click afterwards.

4. 300 or 340? The Belgian chart of accounts trap

Odoo’s Belgian chart of accounts puts stock on 300 Raw materials by default, with 6090 as variation and 600 as expense. That is right for a manufacturer. For a trading business, stock of goods is kept on 340, with 6094 as variation. Account 340 exists, but it carries no variation account. In that case, the closing code falls back on the company’s default expense account (600). If you switch to 340, fill in its Variation Account (6094) on the account form, before the first closing.

💡 Key takeaway

Choose the stock account before loading the opening balance. Changing account after the migration means reclassifying the balance by hand.

5. The Belgian closing: deferred charges, bills to receive, reversal

Migrating the stock is the first closing. The following ones need two adjustments every Belgian accountant knows, and that Odoo 20 can post.

Deferred charges (490) and deferred income (493). An insurance premium paid in November for twelve months does not weigh entirely on the financial year. In Odoo 20 Enterprise, you just fill in the Start Date and End Date on the bill line. Odoo spreads the expense and parks the rest on the account provided: with the Belgian chart, 490 for charges and 493 for income. Entries are generated On bill validation (default) or Manually & Grouped, computed By Months, By Days or By Full Months. Follow-up is in Review › Regularization Entries. Mind the vocabulary: the French interface says « charges constatées d’avance », the term used in France; it is indeed your 490. This feature does not exist in Community.

Bills to receive (444) and reversal. Goods received in December, bill expected in January: the expense belongs to December. On purchase order lines received and not billed (Review › Purchases › Bills To Receive), the Create Accrual Entries button posts the entry and prepares its reversal. The Reversal Date defaults to the next day. The reversal is created as a draft and is posted on its date by a scheduled action. In Odoo 20, the Generate Entries button of the inventory valuation does both at once: stock closing and bills to receive, posted directly.

The Belgian trap: the Belgian chart of accounts does not fill in the bills to receive account (Bills to Receive Account, in the settings). Without it, our test (20 units received at €5.00, not billed) produced no accrual entry, and no error message either. Once 444 was set, the same closing posted debit 600, credit 444 for €100.00 on 26/11/2026, with the reversal ready on 27/11/2026.

💡 Key takeaway

Before your first closing in Odoo 20: 444 in Bills to Receive Account, 490 and 493 checked in the deferred expense and revenue settings. Without the first one, your bills to receive vanish silently.

⚔️ The Match: “load everything” migration vs verified migration

Step Load everything Verified migration
Date of the opening balance Today’s date (Odoo default) 01/01, entry on 31/12
Opening stock In the balance AND as a miscellaneous entry Once only, in the balance
Loss account on the adjustment location Filled in “to be safe” Empty during the migration
First stock closing €1,000.00 phantom expense Everything is correctly closed
Bills to receive Nothing, without a message 600 / 444 and reversal the next day

Measured on 26/11/2026 on Odoo 20 Enterprise (sources of 06/10/2026), new Belgian company, chart of accounts for companies, periodic valuation, 100 units at €10.00.

The Verdict: Odoo 20 does not count your stock twice, the migration does

Odoo 20’s stock closing is honest: it compares the warehouse and the books, and posts the gap. A clean migration gives it a single thing to compare, on the right date, on the right account. The rest, deferred charges and bills to receive, needs three well-set accounts before the first closing.

Are you preparing a migration to Odoo, or did your first closing leave you with an unexplained amount? We review your configuration and your migration order during an Odoo audit, and we train your team on the closing during an Odoo training.

Request a Free Audit
Employee, light or standard user: who counts towards the Odoo 20 licence?
What the Odoo 20 code proves about the “Light” role, hours entered by a manager and the counters sent to Odoo. The price is not in it.