Skip to Content

How to Test Batch Traceability and FEFO in Odoo Before Go-Live

28 नवंबर 2026 by
How to Test Batch Traceability and FEFO in Odoo Before Go-Live
Nima Etesamifar
| No comments yet

Warehouse acceptance guide · Odoo Inventory

A warehouse can reserve the right quantity and still ship the wrong batch. These two drills test picking, traceability and a simulated recall using records warehouse, sales and finance teams can reconcile.

FEFO, first expired, first out, uses the configured removal date to prioritize stock. That date can differ from the printed expiration date. FEFO answers which eligible lot to pick first. It does not prove that every batch is saleable or that a customer-specific minimum shelf life has been enforced.

1. Create a test with an outcome you can check

In an isolated test database, use a fictional SKU tracked by lot. Receive 90 units across three batches in one warehouse. Confirm the storage and delivery paths with your implementer, use the same configuration as your planned rollout, and keep test documents from being sent outside the team.

  • Lot A: 30 units; earliest receipt, second removal date; eligible to ship.
  • Lot B: 40 units; later receipt but earliest removal date; eligible to ship.
  • Lot C: 20 units; on hold and outside the eligible reservation path in this test.

Confirm the lots’ dates in Odoo against your input sheet. When rules are set on both the storage location and product category, check the category’s forced removal strategy. Confirm stock is actually within or outside the relevant route before drawing conclusions.

2. Verify reservation and delivery separately

Create a test order for 45 units with no competing demand. With B eligible and the effective removal rule configured for FEFO, the reservation should use 40 from B and five from A, with none from C. Record the lot and location on each reservation line. Validate the fictional delivery and confirm which lots were shipped. If the picker can substitute a batch, decide whether a warning, approval or stricter control is appropriate, then test that path too.

Run a second order for 10 units to a different test customer. It should pick 10 from A. Have the first test customer return four units of B from the original delivery into a controlled hold location.

Reconcile all 90 units: 51 remain shipped to two customers; 15 of A remain saleable; 24 are in hold (four of B and 20 of C). Those categories do not overlap.

3. Simulate a supplier alert for Lot B

Start from B’s lot record. Follow the original receipt, outbound delivery and return, then compare it with current stock by location. One customer originally received 40 of B; 36 remain outside the warehouse and four came back on hold. The second customer received only A and should not enter the B notification list. Do not send an actual notice during the drill.

If a return is also commercial, have finance separately check the original invoice and whether a credit is required. A completed stock return and a credit note answer different questions. The exercise passes only when stock, customer exposure and financial follow-up can each be accounted for.

4. Extend the recall drill to finished goods

For manufacturers, run a separate drill from a supplier lot to finished lots. In this example, raw lot RM-041 is recorded as consumed on two manufacturing orders that produce finished lots FG-201 (80 units) and FG-202 (40 units). One customer receives 45 of FG-201, then returns five to hold; another receives 25 of FG-202.

Starting at RM-041, identify both manufacturing orders, both finished lots and both original recipients. The 120 finished units reconcile to 65 still with customers, 50 never shipped and five returned and held. Working backward from either finished lot should reach RM-041; an unrelated finished lot should remain outside the affected list. Check original deliveries and returns, not just the sales order’s delivered quantity: a validated reverse transfer updates it net of returns. Verify the hold location in the actual warehouse route.

5. Set the acceptance criteria before training users

  1. Warehouse lead: Correctly predicts the lot picked, verifies dispatch and accounts for goods returned to hold.
  2. Sales or quality lead: Prepares a customer and quantity list for Lot B from the underlying movements without including the unrelated order.
  3. Finance lead: Traces a credit to the original invoice and explains why it is not a new stock movement.
  4. Implementation owner: Repeats the drill with the actual barcode format, warehouse routes and customer shelf-life rule. If source data is missing, names who closes the gap.

Migration warning: An opening quantity does not recreate historic lot movements or customer exposure. Decide which history goes into Odoo and which records remain searchable in an archive. Compare lot, quantity and location totals at cutover and prove one trace that crosses the cutover.

See how this test fits into an ERP rollout for trading and distribution, a manufacturing ERP rollout or an ERP migration. To discuss your own acceptance test, contact Decision Intelligent with a redacted example of a receipt, label and delivery.

Official Odoo 19 references: FEFO and removal dates, lot numbers and traceability, lot and serial barcodes and returns and refunds. Examples are illustrative.

में Our blog

Book a free consultation

Tell us what you need. Our team will contact you.

Thank you. Your enquiry has been received.