Quick Answer
Moving SAP Business One inventory to Odoo means loading the stock you hold at cut-off, not your whole history. You load it by warehouse, by bin, by batch and by serial number, at a cost that ties back to your inventory account in SAP. Your past stock movements stay readable in an archive. The work that decides whether go-live is calm or chaotic happens before the load: choosing how each SAP valuation method maps to Odoo, cleaning batch and serial data and agreeing what counts as a reconciled warehouse.
Most SAP Business One customers who call us about Odoo are not worried about invoices or customers. Those move cleanly. What worries them is the warehouse. A distributor with 40,000 batch-managed lines, or a manufacturer whose customers ask for serial number certificates, knows exactly what happens if the first pick list in the new system sends someone to an empty bin.
This guide explains how we move SAP B1 inventory into Odoo at Browseinfo. It covers the decisions, the mapping and the checks we run before anyone signs off. If you are earlier in the process and want to see the whole project, our page on SAP Business One to Odoo migration services covers finance, sales, purchasing and the rest.
Why Inventory Is the Hardest Part of an SAP B1 Move
In SAP Business One, inventory is not one table. A single item can have its stock spread across several warehouses, each with its own bins, each bin holding several batches and each batch carrying its own expiry date. Behind all of that sits a valuation method that may be different from the item next to it and a setting that decides whether cost is held per warehouse or per company.
Odoo handles the same ideas, but it organises them differently. Warehouses contain locations, locations can be nested to act like bins and lots and serial numbers are a single type of record. Costing is set on the product category, not on the item and cost is held per company rather than per warehouse. None of this is a problem once you know it, but every one of these differences has to be decided on paper before data is moved.
Stock Quantities vs Historical Stock Movements
This is the question we ask in the first workshop and the answer shapes the whole plan: do you need Odoo to know what you have, or do you need it to know everything that ever happened?
Stock quantities are a snapshot. For each item, warehouse, bin, batch and serial number, they record how many units you hold and what they are worth at the cut-off moment. This is what Odoo needs to start picking, selling, producing and valuing stock the next morning.
Historical stock movements are every goods receipt, delivery, transfer, issue for production and inventory posting since you started using SAP. In Business One they live in the inventory audit and valuation log tables. They explain how you arrived at today's numbers, but Odoo does not need them to run.
| Question | Migrate opening quantities | Migrate historical movements |
|---|---|---|
| What Odoo shows on day one | Correct on-hand stock by warehouse, bin, batch and serial | The same, plus years of past moves |
| Effect on valuation | One clean opening value per item that ties to the GL | Odoo recalculates costs from old moves, which rarely matches SAP |
| Effort and risk | Low to moderate | High: every old document needs valid products, partners and locations |
| Traceability for old batches | Answered from the SAP archive | Answered inside Odoo |
| When we recommend it | Almost always | Rarely and usually only as summarised, read-only reference data |
Loading historical movements as real Odoo stock moves sounds thorough, but it causes a specific problem. Odoo calculates cost as moves are validated. If you replay five years of SAP receipts and issues, Odoo works out its own average or FIFO cost along the way and that cost will drift from what SAP posted. You end up with a system that has all the history and a stock value nobody can explain.
What we do instead depends on how you use history:
- Recall and complaint look-ups (which customer received batch X): keep a read-only SAP database, or export batch and serial history to a searchable archive.
- Demand planning (how much of item Y did we sell per month): load monthly sales quantities per item as reporting data, not as stock moves.
- Audit questions about past valuation: keep the SAP inventory audit report exports with the year-end files.
Sample SAP Business One to Odoo Field Mapping
This is a cut-down version of the mapping sheet we build in every SAP B1 inventory project. Field names come from the standard SAP B1 tables. On the Odoo side we describe the destination in plain terms, because exact technical names vary slightly between Odoo versions. We confirm both sides against your SAP version and your target Odoo version during the trial load.
| SAP B1 (table.field) | What it holds | Odoo destination | What we check |
|---|---|---|---|
| OITM.ItemCode | Item number | Product internal reference | Unique, no trailing spaces, same case |
| OITM.ItemName | Item description | Product name | Foreign-language names moved to translations |
| OITM.ItmsGrpCod | Item group | Product category | Groups split if items inside use different valuation methods |
| OITM.EvalSystem | Valuation method (moving average, standard, FIFO, serial/batch) | Product category costing method | One costing method per category |
| OITM.ManBtchNum / ManSerNum | Batch or serial managed | Product tracking: by lots or by unique serial number | Items with stock but no batches recorded |
| OITM.InvntryUom and UoM group | Inventory unit of measure | Product unit and purchase unit | Conversion factors match SAP exactly |
| OWHS.WhsCode | Warehouse | Warehouse, or a location inside one | Drop-ship and virtual warehouses identified |
| OBIN.BinCode | Bin location | Sub-location under the warehouse stock location | Bin naming kept so labels still scan |
| OITW.OnHand | Quantity per item per warehouse | On-hand quantity in that location | Negative stock resolved before load |
| OITW.AvgPrice / OITM.AvgPrice | Item cost (warehouse or company) | Product cost | Per-warehouse costs reduced to one company cost |
| OBTN.DistNumber, ExpDate, MnfDate | Batch number and dates | Lot number with expiration date | Duplicates, blanks and impossible dates |
| OSRN.DistNumber, MnfSerial | Internal and manufacturer serial | Serial number, plus a reference field for the manufacturer serial | Each serial held once, in one place |
| OBTQ / OSRQ | Batch and serial quantity per warehouse | On-hand quantity per lot or serial per location | Totals equal OITW.OnHand for the item |
| OIBQ / OBBQ | Quantity per bin (and per batch in bin) | On-hand quantity per sub-location and lot | Totals equal the warehouse quantity |
| OIVL / OINM | Inventory valuation and audit history | Not loaded as moves; archived for reference | Export kept with year-end files |
Two rows cause more rework than the rest put together. The first is item groups. In SAP the valuation method is set on the item, so one group can contain both FIFO and moving average items. In Odoo, costing follows the category, so a mixed group has to be split before anything is loaded. The second is the quantity cross-check: batch and bin quantities must add up to the warehouse quantity in SAP before extraction. When they don't and in older databases they sometimes don't, the fix belongs in SAP, not in the load file.
Valuation Methods: What Carries Over and What Changes
SAP Business One lets you value perpetual inventory by moving average, FIFO or standard cost. There is also a fourth option, the Serial/Batch valuation method, available from version 9.1, which gives every batch or serial number its own cost. Odoo has standard price, average cost (AVCO) and FIFO, set on the product category, with manual or automated stock valuation. Here is how each SAP method lands.
Moving average to average cost (AVCO)
This is the simplest move. Each item opens in Odoo with its quantity and the SAP average cost at cut-off and Odoo continues averaging from there. The opening value per item should match SAP to the cent. If it doesn't, the usual cause is rounding on the unit cost, which we handle by loading values rather than recalculating them from rounded prices.
Standard cost to standard price
Also straightforward. The item opens at its SAP standard cost. The one thing to watch is timing: if your team runs a standard cost revaluation at year end, agree whether it happens in SAP before cut-off or in Odoo after go-live.
FIFO to FIFO
Here a single opening line is not enough. In SAP, a FIFO item can hold several open layers, each with its own cost. If you load the total quantity at the average cost, Odoo will treat it as one layer and your first few months of cost of sales will be slightly off. For FIFO items with material value, we load each open SAP layer as its own opening receipt, oldest first, at its own cost, so Odoo consumes them in the same order SAP would have.
Serial/Batch valuation: the one that needs a real decision
If you sell high-value serialised equipment, or batches whose purchase cost swings a lot, you may be using SAP's serial/batch method. Recent Odoo versions (from Odoo 18) can also value stock per lot or serial number, through an option on the product. There is a loading detail that matters, though. When a new lot is created through an inventory adjustment, Odoo gives it the cost currently on the product. So opening lots with different costs have to be loaded one cost at a time, or as opening receipts, otherwise every batch opens at the same price.
On older Odoo versions, or where per-lot cost is not worth the extra work, the usual alternative is FIFO with one opening layer per batch. We test both on your real data during the trial migration and let finance choose with the numbers in front of them.
When SAP manages item cost per warehouse
Some SAP B1 companies tick Manage Item Cost per Warehouse, so the same item has a different cost in each warehouse. Odoo holds one cost per product per company. The common approach is to open each item at its weighted average across warehouses, then post the small difference as a single documented revaluation. If the warehouse cost difference really matters to your business, for example because the warehouses sit in different countries, that is often a sign they belong in separate Odoo companies.
Warehouse-Level Stock Reconciliation
A migration is only finished when someone in finance and someone in the warehouse both sign that the numbers match. We reconcile at five levels, from the coarsest to the finest and we don't move on until each level is clean.
- Inventory account balance: the SAP inventory G/L balance at cut-off equals the opening stock valuation in Odoo.
- Value per warehouse: total value per warehouse matches, within a tolerance finance agrees in writing.
- Quantity per item per warehouse: must match exactly. There is no tolerance for quantities.
- Quantity per bin: matches exactly, so the first pick list goes to the right shelf.
- Quantity per batch and serial: matches exactly, including expiry dates.
Batch and Serial Number Traceability Checks
For many of our manufacturing and food distribution clients, traceability is the reason they bought an ERP in the first place. Matching quantities is not enough. You have to prove that a batch or serial number can still be followed through the new system.
Cleaning batch data before it moves
Years of manual entry leave marks. Before extraction, we look for:
- Batch numbers that differ only by case or a trailing space ("L2291" and "L2291 "), which SAP may treat as separate records.
- Batches with stock but no expiry date, on items where expiry is required.
- Batches with zero stock that are still open, which are usually safe to leave behind.
- Manufacturing dates later than expiry dates, which is more common than you'd think.
Serial numbers that must be unique
Odoo is strict about serial numbers: a serial-tracked product can hold each serial only once. That is good discipline, but it means duplicates that SAP tolerated have to be resolved first. We also decide where the manufacturer's serial goes, because many SAP users record both an internal serial and the supplier's serial and service teams usually search by the supplier's number.
Three traceability tests we run before sign-off
Test 1, the forward trace. Pick a batch received in the last month and partly sold before cut-off. In SAP, list which customers received it. In Odoo, confirm the remaining quantity sits in the right location with the right expiry date. In the archive, confirm the sold portion can still be found.
Test 2, the serial look-up. Take ten serial numbers at random from the warehouse floor. Scan or type each one into Odoo and confirm the product, location and status. This takes fifteen minutes and gives the warehouse team real confidence.
Test 3, the mock recall. Choose a batch that was split across two warehouses and several bins. Ask a user who was not involved in the migration to find every unit using only Odoo. If they can do it without help, traceability has survived the move.
Data Problems We Usually Find in SAP B1 Inventory
Every SAP Business One database is different, but the same few issues come up in nearly every project. Finding them early is far cheaper than finding them during cut-over weekend.
- Negative stock. If SAP allows negative inventory, some items will be below zero at cut-off. Odoo can load them, but the cost will be wrong. These should be counted and corrected in SAP first.
- Goods received but not invoiced. Goods receipt POs without an A/P invoice affect both stock and the accrual account. We list them so finance knows which receipts Odoo will need to invoice.
- Landed costs still open. Freight or duty not yet allocated will change item costs after cut-off. We agree with finance whether to post them in SAP first or allocate them in Odoo.
- Bins used inconsistently. Some warehouses use bins properly while others park everything in a default bin. We map what is really on the shelves, not what the setup screen says.
- Unit of measure groups. A box of 12 in SAP must be a box of 12 in Odoo. A wrong conversion factor multiplies the error through every open order.
How We Freeze, Count and Load
Cut-over is where planning meets the warehouse floor. A typical sequence for a mid-sized distributor looks like this:
Two weeks before go-live
Run cycle counts on high-value and fast-moving items. Resolve negative stock. Finish the second trial load and get reconciliation sign-off on it. Confirm the cut-off date and time with sales, purchasing and the warehouse.
Cut-off day
Stop receipts and dispatches at an agreed hour. Post the last deliveries and transfers in SAP and make sure nothing is left in transit. Extract quantities and costs once, from a frozen SAP database. Load them into Odoo and run reconciliation levels 1 to 5 against the frozen data.
Go-live morning
Warehouse leads spot-check bins against the Odoo screen before the first pick. Finance confirms the opening stock journal. Only then are open sales and purchase orders released, so the first allocations use stock that has already been checked.
First week
Check daily for negative quantities, unexpected cost changes and lots without expiry dates. Keep SAP open read-only for look-ups.
The quieter you can keep the warehouse on cut-off day, the smaller the reconciliation gap. Where a business cannot stop shipping, we plan a short window over a weekend and load only movements from that window as a second, controlled delta load.
A Typical Case: Food Ingredients Distributor
To make this concrete, here is the kind of project we see often. A food ingredients distributor runs SAP Business One with two warehouses and a small returns area. Around 3,500 active items, most of them batch-managed with expiry dates. Some imported items are FIFO, the rest moving average. The SAP database is eleven years old.
During assessment, we found three item groups that mixed FIFO and moving average items. They were split into five Odoo product categories. A few hundred batches had no expiry date. The quality team supplied dates for those still in stock and the rest were closed in SAP. Fourteen items were below zero and a recount fixed all of them.
The client first wanted to bring five years of stock movements into Odoo. After seeing the effect on valuation in a trial, they chose instead to load opening quantities by batch and bin, keep SAP read-only for two years and export batch-to-customer history to a searchable file for recalls. Go-live took one weekend and the first Monday's pick lists matched the shelves.
None of this is clever. It is mostly patience, a good mapping sheet and the discipline to reconcile before signing off. That is also why we treat inventory as its own workstream inside our ERP data migration and validation service, rather than one more table in the load.
Frequently Asked Questions
1. Can we migrate SAP Business One inventory to Odoo without losing batch numbers?
Yes. Every batch with stock at cut-off is loaded as a lot in Odoo, with its quantity per location and its expiry date. Batches with no stock are usually left in the SAP archive rather than loaded.
2. Should we migrate historical stock movements from SAP B1?
In most cases, no. Loading old movements makes Odoo recalculate costs that won't match SAP. We load opening quantities and costs and keep history in a read-only SAP system or an exported archive.
3. How does SAP B1 moving average cost map to Odoo?
Moving average maps to Odoo's average cost (AVCO) method. Each item opens with its SAP quantity and average cost at cut-off and Odoo continues averaging from there.
4. What happens to FIFO layers when we move from SAP Business One to Odoo?
For FIFO items, we load each open SAP layer as a separate opening receipt at its own cost, oldest first. Odoo then consumes those layers in the same order SAP would have.
5. Does Odoo support SAP's Serial/Batch valuation method?
From Odoo 18, products can be valued by lot or serial number. Opening lots with different costs need careful loading, because a new lot created by inventory adjustment takes the product's current cost. On older versions, FIFO with one layer per batch is the usual alternative.
6. What if SAP manages item cost per warehouse?
Odoo keeps one cost per product per company. We usually open each item at its weighted average cost across warehouses and post the difference as one documented revaluation. Where warehouse costs must stay separate, separate Odoo companies may be the better design.
7. How do SAP bin locations map to Odoo?
Each SAP bin becomes a sub-location under the warehouse stock location in Odoo. We keep bin codes the same so existing shelf labels and barcodes still work.
8. How do you reconcile stock after the migration?
We check five levels: the inventory account balance, value per warehouse, quantity per item per warehouse, quantity per bin and quantity per batch or serial. Quantities must match exactly and value differences must be explained and signed off by finance.
9. How long does the inventory cut-over take?
For most mid-sized distributors and manufacturers, the freeze, extract, load and reconciliation fit into one weekend, provided two trial loads have already been completed and signed off.
10. Can we still trace old batches after go-live?
Yes. Batches in stock are fully traceable in Odoo. For batches sold before cut-off, we keep SAP read-only or export batch-to-customer history to a searchable archive, so recall look-ups still work
Plan Your SAP B1 Inventory Migration
If inventory accuracy is the part of an Odoo move that keeps you up at night, start with a short review of your SAP Business One data. We will look at your valuation methods, batch and serial data, warehouses and bins and tell you plainly what will move cleanly and what needs work first. You can read more about how we run the full project on our SAP Business One to Odoo migration services page.