Skip to content

Guide: lots and expiry dates

Sell the oldest stock first. Find any batch in a minute.

If you sell food, medicine, cosmetics or anything with a date on the box, expired stock is money in the bin and a recall is a week of phone calls. Odoo keeps a lot number and its dates on every box you receive and ship. Here is how it works and what to prepare.

  • Official Odoo Partner
  • Team in Hamra, Beirut
  • English and Arabic
  • Free consultation, written proposal

Updated

Sound familiar?

  • Expired stock is found on the shelf, after it should have been sold or returned.

    Each lot carries its own dates, and Odoo raises an alert before the expiry date.

  • Pickers take the box at the front, so older stock stays at the back.

    First-expired-first-out picking: Odoo reserves the lot that must leave soonest.

  • A supplier recalls a batch and nobody knows which customers received it.

    Every receipt and delivery records the lot, so one screen shows where it went.

  • Customers ask which batch they got, and the answer is a phone call to the warehouse.

    Lot numbers printed on the delivery slip, and expiry alerts in the customer portal.

Four dates on every lot

You set them once per product, in days. Odoo counts the expiration date from the day each lot is received, and the other three from the expiration date.

  • Expiration date

    When the goods may become dangerous. Set as a number of days after receipt (or after production), so Odoo works the date out for each lot.

  • Best before date

    Days before the expiration date when the goods start to lose quality, though they are not yet dangerous.

  • Removal date

    Days before the expiration date when the goods should leave your stock. First-expired-first-out picking uses this date.

  • Alert date

    Days before the expiration date when Odoo raises an alert on the lot, so someone can act while there is still time.

Example from Odoo’s documentation: goods that expire 30 days after receipt and must be removed 15 days before expiry. A lot received on 1 January expires on 31 January and must leave stock by 16 January. Source: Expiration dates.

First expired, first out

Set the product category’s removal strategy to FEFO, and Odoo reserves the lot with the earliest removal date for each order. If that lot runs short, it takes the rest from the next one.

An order for 6 cartons, with the three lots on the right, takes all 5 cartons of LOT 1 and 1 carton of LOT 2. LOT 3 stays on the shelf.

Source: Odoo’s FEFO removal documentation.

Three lots of the same product and what an order for 6 cartons takes from each
LotOn handRemoval dateTaken for the order
LOT 1526 Feb5
LOT 224 Mar1
LOT 319 Mar0

When a batch has to come back

Odoo will not validate a receipt of a tracked product until each line has a lot number, and each delivery records the lot it took. So the trail is there when you need it.

  • Every move of a lot

    Open a lot and press Traceability: receipts, transfers and deliveries of that lot, with their documents.

  • Lots on delivery slips

    One setting prints the lot or serial number on each delivery slip, so the customer has it on paper too.

  • Expiry alerts in one list

    The lots list can be filtered to expiry alerts or grouped by expiry date, and the person responsible for the product is notified.

Source: Odoo’s Lot numbers documentation. Lots recorded in production too: Odoo Manufacturing. Scanning lots in the warehouse: barcode scanning in Odoo.

Expiry dates in a spreadsheet today? We show you your own products with lots and alerts in Odoo.

What to prepare

Lots and expiry dates are part of Odoo Inventory. The setup is quick; the decisions behind it are what take thought. Bring answers to these and we set it up around how your warehouse works.

  • Which products need lots, which need serial numbers (one per item), and which need neither
  • For each dated product: days until expiry, and how many days before it the goods should be removed and an alert raised
  • How lot numbers arrive today: printed by the supplier, written by your team, or made up at receipt
  • Stock already on the shelves: it needs lot numbers too, entered with an inventory count
  • Who is responsible for each product, so the alerts reach a person
  • Whether the warehouse will scan barcodes: scanning uses the Barcode app, which is part of Odoo Enterprise

Questions, answered

Medicines and medical supplies: Odoo for pharma and medical supplies. Buying from abroad? Odoo for importers. Selling from shops and warehouses: Odoo for retail and distribution.

More guides:

Can Odoo track expiry dates?

Yes. In Odoo Inventory, switch on Lots & Serial Numbers and Expiration Dates, then mark each dated product as tracked by lot or serial number. Each lot then carries an expiration, best before, removal and alert date.

What is FEFO, and does Odoo do it?

First expired, first out: the stock that has to leave soonest is picked first. Odoo does it when the product category’s removal strategy is set to FEFO; it reserves the lot with the earliest removal date and takes the rest from the next lot.

Can we find every customer who received a batch?

Each delivery records the lot it took, and the lot’s Traceability screen lists its receipts and deliveries with their documents. That is the list you start from when a supplier recalls a batch.

Does every product need a lot number?

No. Tracking is set per product. Dated or recallable goods get lots or serial numbers, the rest can stay untracked so the warehouse does not record numbers it does not need.

Does this make us compliant with health or food rules?

Odoo records the lots, dates and movements; whether that is enough for a ministry or food authority depends on their rules. Bring their requirements to the consultation and we check what Odoo covers and what needs a procedure around it.

What about stock we already have?

Stock that is on the shelves before lots are switched on has no lot numbers yet. It gets them through an inventory count, which we plan with you as part of the setup.

Tell us what is slowing you down. We will show you how to fix it.

What you get from the free consultation

  • We look at how your business runs today and where time and money are lost.
  • We tell you honestly which option fits you best: Odoo, a website, an app or automation.
  • You get a clear written proposal for your scope before any work starts.

Get your free consultation

Only your name, phone and what you need are required. Free, with no commitment.

WhatsApp opens with your message ready to send. We use your details only to reply to you. Prefer email? Send it by email

How it works

  1. 1You send the form or a WhatsApp message.
  2. 2We reply during working hours (Monday to Friday, 9:00 to 18:00) to set up a short call.
  3. 3You decide, with no cost and no commitment.