Import Lot and Serial Numbers from Excel or CSV - Import Serial Numbers into Receipts, Transfers and MO
by Modvanta https://modvantaapps.tech/$ 8.97
Odoo 19CommunityEnterpriseXLSX / XLS / CSVReceiptsDeliveriesManufacturingBy Modvanta
Built and supported by Modvanta - modvantaapps@gmail.com
What it does
Your supplier sends 400 phones and a spreadsheet with 400 IMEI numbers. In standard Odoo you open the receipt, open Detailed Operations for one product, paste the numbers, then do it again for the next product. Nothing tells you about the duplicate on line 212 until you validate.
This module adds an Import Lots/Serials button to the receipt (and to deliveries, internal transfers and manufacturing orders). Upload the supplier file once. Every row is matched to its product on the document and checked: is the product tracked, is the serial already in stock, does it appear twice in the file, is the quantity 1 for a serial, does the lot exist where it has to. You see the result row by row, green, orange or red, and nothing is written until the file is clean, or until you tell it to skip the bad rows.
Quantities and expiry dates come along. With Product Expiry installed the expiration date in the file is set on each new lot.
Who it is for
Electronics and devices Serial numbers or IMEIs arrive from the supplier as a spreadsheet, hundreds per delivery. | Food, pharma and cosmetics Lots with quantities and expiry dates, several products on one receipt. | Manufacturers Serials for the finished goods and the component lots consumed, entered on the MO in one go. |
Key features
1A button on the transfer
Import Lots/Serials sits in the header of receipts, deliveries and internal transfers that have tracked products, as long as they are not done or cancelled.

A receipt for 5 phones and 20 boxes of Vitamin C, with the Import Lots/Serials button.
2One file for every product
Upload XLSX, XLS or CSV (comma, semicolon or tab). Product by internal reference, barcode or name; a single-product document does not even need the product column. Download Template gives you a sheet with the products and open quantities of the document, one row per serial.

Choosing the file, replace or add, and Mark as Picked.
3Every row checked before anything is written
Unknown product, product not on the document, product not tracked, a serial with a quantity other than 1, a serial twice in the file, a serial already in stock, a bad quantity or date. Import is refused while errors remain.

The preview: two serial errors and a product that is not on the receipt.
4A clean file goes straight in
When every row is green, Import writes the detailed operations: one line per lot or serial, with its quantity, its putaway location and the picked flag.

Seven rows, all OK, with the expiry dates read from the file.
5Detailed operations filled for you
The receipt is ready to validate. Lots that do not exist yet are created with their expiry date and any custom lot fields you put in the file (columns named like the field, x_...).

The five imported serial numbers in Detailed Operations.
6Expiry dates on the new lots
With Product Expiry installed, the expiration date in the file becomes the lot expiration date, and Odoo works out the alert, removal and best-before dates from it.

Lot VC-2026-01 created by the import, expiring 31 October 2027.
7Deliveries and transfers use the lots you have
On outgoing and internal moves the lot must already exist. The line is taken from the shelf that holds the lot, and you are warned when the lot is not in stock at the source. Tick Skip Rows with Errors to import the good rows only.

A delivery: one lot found, one that does not exist, and Skip Rows with Errors.
8Manufacturing orders
With Manufacturing installed the importer is in the Actions menu of the MO. Rows for the finished product set the serials (or the lot) produced; rows for components set the lots consumed.

Import Lots/Serials in the Actions menu of a manufacturing order.
9A note in the chatter
Each import leaves a note on the document: how many rows, from which file, and the lot numbers per product.

The MO after the import: three speaker serials and lot CB-2401 for the boards.
What standard Odoo does, and what this adds
| Standard Odoo 19 | Import Serials/Lots inside Detailed Operations: paste text for one product at a time (number, quantity, date). No file upload, no check of the whole list before it is written. |
| With this module | A spreadsheet for the whole document, all tracked products at once, a row-by-row preview with errors and warnings, template download, skip bad rows, deliveries, internal transfers and manufacturing orders, custom lot fields, and a chatter note. |
How it works
| 1 | Open the document A receipt, delivery, internal transfer or confirmed manufacturing order with tracked products. |
| 2 | Get the template Press Import Lots/Serials, then Download Template, or use the supplier file as it is if its columns say Product, Lot/Serial Number, Quantity and Expiration Date. |
| 3 | Preview Upload the file and press Preview. Fix the red rows in the file, or tick Skip Rows with Errors. |
| 4 | Import Press Import. Check the detailed operations and validate as usual. |
Columns
| Product | Internal reference, barcode or product name. Optional when the document has one tracked product. |
| Lot/Serial Number | Required. Also read as Serial, Lot, Batch, IMEI and similar headers. |
| Quantity | In the unit of the move. Empty means 1. |
| Expiration Date | YYYY-MM-DD, DD/MM/YYYY or an Excel date. Needs Product Expiry. |
| x_... columns | Custom fields of the lot, for example x_supplier_ref, set on new lots. |
FAQ
Does it validate the receipt for me?
No. It fills the detailed operations and you validate, so backorders and quality checks still go through the normal steps.
What happens to the lines that were already there?
Replace (the default) removes the detailed lines of the products in the file first, which is what you want on a fresh receipt. Add keeps them and refuses a lot that is already on the document.
Can I import more than the demand?
Yes, with a warning on those rows, the same way Odoo lets you receive more than ordered.
Who can use it?
Inventory users. Each import wizard is private to the person who opened it, and the document must be one you are allowed to edit in your company.
How big can the file be?
Up to 10 MB and 20,000 rows per file.
Do I need Manufacturing or Product Expiry?
No. Only Inventory is required. The MO entry and expiry dates appear when those apps are installed.
Compatibility
Odoo 19 Community and Enterprise | Depends on Inventory. Manufacturing and Product Expiry are used when installed | Tested 27 automated tests, run with and without Manufacturing and Product Expiry |
Support
Questions before you buy, or something not working after you install? Write to modvantaapps@gmail.com. Bug reports for Odoo 19 are answered and fixed free of charge.
Import Lot and Serial Numbers
The supplier spreadsheet in, every row checked, the receipt ready to validate.
Buy Now - $9Ask a Question| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 677 |
| Technical Name |
mdv_import_lot_serial |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
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