Weighing assistant auto create lot
Auto-create lots when adding detailed operations from the weight kanban card.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When you add a detailed operation from the weighing assistant, Odoo can create and assign the lot automatically if you leave the lot field empty. A small message on the weighing screen tells you this will happen.
This module extends the weighing assistant (the screen used to weigh products and add detailed operations) so that lots can be created automatically during weighing.
On the weighing form, when the product is tracked by lot or serial number, no lot has been selected yet, the wizard is not in the weighing step, and both the operation type and the product are configured to auto-create lots, an information message appears: "The lot will be created automatically if you don't select any".
If you then confirm the detailed operation without choosing a lot, the system generates the lot name from the product's lot sequence and creates and assigns that lot to the move line. This saves the manual step of creating the lot first.
The automatic creation is blocked when the operation type or the product is not set up for automatic lot creation; in that case the usual lot-creation constraints apply and an error is raised if no lot is provided.
The module touches the weighing.wizard model and its form view, and relies on the lot and picking type settings from the stock modules.
Required by other modules
Models and fields (1)
- weighing.wizard · extends an existing modelshow_auto_lot_info
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 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-weighing.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0You need to allow to auto-create lots in your operation type. Doing so, you'll be able to auto-assign a lot when creating a new operation from the weighing card.
Remeber that you need to go to Inventory > Configuration > Operation Types and set Auto Create Lot on in the type you want to.
Also take into account that only products with the Auto Create Lot flag will have this feature. Set it on on the product's form traceability options.
No verified information in OCA: Installation, Usage.
Installation 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.