This module extends the rma_lot module by integrating lot tracking into the return wizard in the sales orders. It assists salespeople in accurately recording returns by ensuring that customers are returning the correct lot that was originally delivered.
This enhancement improves both tracking and inventory accuracy, leading to more efficient and reliable return processing.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When creating a return from a sales order, this module lets you pick the exact lot or serial number that was delivered, so returns are recorded against the right batch and stock stays accurate.
This module adds lot and serial number tracking to the sales return process. When a salesperson opens the return wizard from a sales order, the module checks whether the delivered products are tracked by lot or serial number. If they are, an extra column appears in the wizard where the user can select the specific lot or serial number being returned.
The list of available lots is automatically limited to the ones that were actually delivered on that order, so users cannot pick a lot that was never shipped to the customer. The wizard also shows whether the column should be visible at all, based on the products in the return.
On the customer portal, the return request form shows the lot or serial number next to each product, with the heading adapting to say "Lot", "Serial Number" or "Lot/Serial Number" depending on the products involved.
Behind the scenes, the module calculates how much of each product and lot was delivered and subtracts quantities already returned, so the returnable quantity per lot is correct. The chosen lot is then carried through to the return document.
It touches the sales order, sales order line, and the return wizard models, and adds a lot field to the return wizard form, visible only to users with lot/serial number permissions.
Models and fields (4)
- sale.order · extends an existing model
- sale.order.line · extends an existing model
- sale.order.rma.wizard · extends an existing modellots_visible
- sale.order.line.rma.wizard · extends an existing modellot_id (Lot/Serial Number), lots_visible, lot_id_domain
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/rma.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.