| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Point of Sale (point_of_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 66 |
| Technical Name |
pos_auto_lot_fefo_selection |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/udaykirangardas/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Point of Sale (point_of_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 66 |
| Technical Name |
pos_auto_lot_fefo_selection |
| License | LGPL-3 |
| Website | https://www.linkedin.com/in/udaykirangardas/ |
POS Auto Lot & Serial Selection
Supercharge your retail checkout speed. This module completely eliminates manual lot selection popups by automatically assigning the oldest available stock directly to your Point of Sale cart.
Lightning Fast
No more UI interruptions. Cashiers can scan and sell instantly without stopping to type or select lot numbers.
Smart FEFO/FIFO
Automatically queries your backend database to fetch and assign the oldest stock first, reducing inventory waste.
Native Fallback
If stock runs out or discrepancies occur, the module gracefully falls back to the native Odoo popup, preventing register blocks.
How It Works
- 1. Product Selection: The cashier clicks or scans a tracked product (Lot or Serial).
- 2. Background Interception: Our Owl JavaScript patch pauses the UI and silently pings the Python backend.
- 3. Database Query: The system filters
stock.quantfor the active POS location, ignoring serials already in the draft cart. - 4. Instant Assignment: The oldest valid numbers are mapped to the cart line, bypassing the modal completely.
Important Prerequisites
For this automation to trigger flawlessly, your database must be properly normalized. This module relies strictly on assigned Lot/Serial numbers.
- Legacy Untracked Stock: If you have old inventory sitting in your POS location that was received without a lot number, the automation will ignore it.
- Action Required: Before going live, you must either sell out your old untracked
stock manually, or perform an Inventory Adjustment in the backend to assign a
dummy lot number (e.g.,
LEGACY-BATCH) to those existing quantities. - Configuration: Ensure your POS Operation Type has "Use Existing Lots/Serial Numbers" enabled.
Developed with precision
Have questions or need advanced customizations? Let's connect!
View on GitHub Connect on LinkedIn
Please log in to comment on this module