Reassign lot/serial numbers

Changing a product’s tracking settings to use lots or serial numbers, after storing products in Odoo without them, can lead to inconsistent records. Follow this documentation to learn how to use an inventory adjustment to assign lot or serial numbers to products that were not originally assigned lots.

Warning message: products in stock have no lot/serial number.

Nota

This document outlines the process of using two inventory adjustments: one to remove incorrect records without lot numbers, and another to save the quantities with the lot numbers.

Change on-hand quantity to zero

To change the product’s settings to track by lots or serial numbers, begin by navigating to Inventory app ‣ Products ‣ Products, and select the intended product.

Next, click the product’s On Hand smart button to open the Update Quantity page. In the On Hand Quantity column, change the value to zero.

Nota

If the product is stored in multiple locations, make sure the total on hand quantity at all locations is zero.

Show the Inventory Adjustments model, highlighting the "On Hand Quantity" field.

Change traceability setting

Return to the product form (Inventory app ‣ Products ‣ Products), and switch to the Inventory tab. In the Traceability section, change the Tracking option from No Tracking to By Lots or By Unique Serial Number.

Ver también

Fechas de vencimiento

Habilitar números de lote y de serie.

Restore on-hand quantity

After manually changing the on-hand quantity to zero and changing the Tracking setting to lots or serial numbers, restore the quantities by clicking the On Hand smart button from the desired product form.

On the Update Quantity page, because the on-hand quantity had been previously changed to zero, a No Stock On Hand warning appears on the page. From here, click the New button in the top-left corner. Doing so reveals a new, modifiable line on the Update Quantity page. Then, input a desired lot number in the Lot/Serial Number field, and adjust the On Hand Quantity to its original value.

Ver también

Ajustes de inventario

Fill in the "Lot/Serial Number" and "On Hand Quantity" field.

Truco

To find the original quantity, and adjust the On Hand Quantity accordingly, after assigning a new lot or serial number, click the (pencil) icon in the On Hand Quantity column. Then, click the History button on the far-right.

Show the "History" button on the Inventory Adjustments page.

The inventory adjustment that changed the on-hand quantity to zero is displayed in the Quantity field.

Show the history entry.