POS Lot Selection - Auto Lot Selection, POS FEFO and Serial Number Selection
by Modvanta https://modvantaapps.tech/odoo-apps/pos-lot-auto-select/
Odoo
$ 11.97
In-App Purchases
POS Lot Selection for Odoo 19
Auto lot selection and serial number selection at the point of sale: POS FEFO, FIFO or LIFO, expired and blocked lots skipped, quantities split across lots, lot and expiry on the receipt, lot barcode scanning and a near-expiry warning - and it keeps working offline.
POS Lot SelectionAuto Lot SelectionPOS FEFOFIFOLIFOSerial Number SelectionPOS Serial NumberSkip Expired LotBlocked LotsSplit Across LotsLot Expiry on ReceiptPOS Barcode Lot ScanSearch by Lot NumberNear-Expiry WarningPOS Expiry DialogWorks Offline0 popups per tracked product sold | 4 strategies FEFO, FIFO, LIFO, category | 47 automated tests | $12 one-time price |
The till asks for a lot on every sale
With lot-tracked products Odoo opens a lot popup for almost every item, the cashier picks whatever is first, and the batch that expires next week stays on the shelf. This module picks the right lot or serial number for the cashier, never sells an expired or blocked lot, and prints the expiry on the receipt.
Key Features
Everything a shop with batches, best-before dates or serial numbers needs at the till.
AUTO LOT SELECTION Tap a lot-tracked product and the lot is already on the line. No popup, no typing, no guessing which batch is on the shelf. The cashier can still change it with the lot icon on the line. | FEFO, FIFO OR LIFO POS FEFO sells the lot that expires first (removal date, then expiration date, then receipt date). Or pick FIFO, LIFO, or follow each product category's own removal strategy - per till. | SKIPS EXPIRED AND BLOCKED LOTS An expired lot is never picked, and it is hidden from the lot popup. Block a lot for a recall or quality hold with one tick on the lot, with a reason the cashier sees. |
SPLIT QUANTITY ACROSS LOTS Type 10 when the first lot holds 6: the line keeps 6 and a second line takes 4 from the next lot. Repeated taps on the same product grow one line while its lot lasts. | SERIAL NUMBERS ONE PER UNIT Serial-tracked products get the next free serial number for every unit, in strategy order. Serials already on another open order or blocked are skipped. | LOT AND EXPIRY ON THE RECEIPT The order line and the receipt show Lot Number YG-2402 (Exp 2026-10-28), so the expiry date travels with the sale. |
SCAN OR SEARCH A LOT NUMBER Scan the lot or serial barcode and the right product is added with exactly that lot. The product search also finds products by lot or serial number. | NEAR-EXPIRY WARNING AND DIALOG The cashier is warned when the picked lot expires within your warning days. A Lot Expiry button lists expired, near-expiry and blocked lots in stock, even offline. | WORKS OFFLINE Lots are loaded once per session and cached in the browser. The till keeps picking lots without a connection and counts what its own open orders already took. |
How it compares
POS lot selection modules on the Odoo Apps Store vs this module.
| Feature | Typical modules | This module |
| Lot / serial selection in the POS | Popup to choose | Picked automatically |
| FEFO, FIFO, LIFO or category removal strategy | Rare | Yes, per till |
| Skip expired lots | Some | Yes, plus blocked lots |
| Split one quantity over several lots | Rare | Yes |
| Serial numbers assigned one per unit | Manual | Yes |
| Lot and expiry date on the receipt | Lot only, often | Lot and expiry |
| Scan a lot barcode to add the product | Some | Yes |
| Search products by lot number | Some | Yes |
| Units sold before the session closes are not offered again | Rare | Yes |
| Works offline from a cached lot list | Rare | Yes |
| Price | Typically more | $12 one-time |
How it works
1 | Turn on lots and expiry Inventory -> Configuration -> Settings: Lots & Serial Numbers and Expiration Dates. Track your products by lot or serial number. |
2 | Pick the strategy Point of Sale -> Configuration -> Settings -> Lots & Serial Numbers: mode, FEFO / FIFO / LIFO and where to pick from. It is on by default with FEFO. |
3 | Sell as usual Tap products or scan barcodes. Lots and serials land on the lines by themselves, expired and blocked ones are skipped. |
4 | Watch what expires Open Actions -> Lot Expiry at the till, and block a lot on its form when it must not be sold. |
Screenshots
FEFO pick with a near-expiry warning
Greek Yogurt tapped once: the expired lot YG-2401 is skipped, YG-2402 (expires first) is on the line with its expiry date, and the cashier is told it expires in 4 days.

Same lot grows, then the next lot takes over
Four taps: three units from YG-2402 on one line (all it holds), the fourth from YG-2403.

Quantity split across lots
10 typed on Fresh Milk with 6 left in ML-0915: 6 from ML-0915 and 4 from ML-0918, announced to the cashier.

Serial numbers assigned per unit
Three drills, three serial numbers CD-1001 to CD-1003, without a popup. The blocked serial CD-1004 is never used.

Search and scan a lot number
Searching VC-A2 finds the vitamin pack; scanning VC-A2 adds it with exactly that lot, even though FEFO would pick VC-A1.

Lot Expiry dialog at the till
Expired, near-expiry and blocked lots in stock, sorted by days left - read from the till's own lot list, so it opens offline.

Suggest mode
Prefer the cashier to confirm? The popup opens with the FEFO lot filled in and lists the other lots with stock left and expiry. Expired and blocked lots are not offered.

Blocked lot refused
A blocked lot typed in by hand is refused, with the reason recorded on the lot.

Receipt with lot and expiry
Every lot and serial number on the receipt, with the expiry date next to each lot.

Settings per till
Mode, strategy, where to pick from, expired lots, warning days, split, receipt, scanning, payment rule and refresh timer.

Block a lot
One tick on the lot form keeps a lot out of every till, with a reason for the cashier.

Frequently asked questions
What does Odoo already do with lots in the POS?
Odoo 19 fills the lot in by itself only when exactly one lot has stock. Otherwise it opens a popup and the cashier types or chooses a lot - with no expiry order, no expiry date shown, no split and no serial assignment. This module does all of that for the cashier.
Can the cashier still choose a different lot?
Yes. Tap the lot icon on the order line to change it, or switch the till to Suggest mode so the popup opens with the best lot filled in. A lot typed by hand is refused only when it is blocked, or expired while Skip Expired Lots is on.
What happens when a lot runs out?
The next lot in strategy order takes the rest, on its own line. When every lot is used up the sale is not stopped: the cashier gets a notice that lot stock is short.
Does it work offline?
Yes. The till loads the lot list when the session starts, keeps a copy in the browser and refreshes it after every order it sends and on a timer. Offline it keeps picking from that copy and subtracts what its own open orders took.
Are units sold earlier in the session offered again?
No. Units sold before the session closes, or whose delivery Odoo could not validate, are taken off the lot list even though the stock has not moved yet.
Does it need expiration dates?
FEFO and the expiry features use the Odoo expiration dates (installed automatically). Products without dates still work: FEFO then falls back to the date the lot was received.
Which apps does it need?
Point of Sale and Inventory with expiration dates, Odoo 19 Community or Enterprise, on premise or Odoo.sh. No extra Python library and no external service.
Requirements
Odoo 19 Community or Enterprise with Point of Sale and Inventory expiration dates - installed automatically. No extra Python library, no external service.
The right lot, every sale
Questions before buying, or a lot rule your shop needs? Write to us, we answer within one working day.
Buy Now - $12Hire Us for Odoo WorkEMAIL | AUTHOR Modvanta | INCLUDED Free bug fixes and setup help |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 1193 |
| Technical Name |
mdv_pos_lot_auto_select |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/pos-lot-auto-select/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module