Stock Quant Safe Inventory
This module prevents the user from updating the quantity on a quant if some quantity has been put as done on a move line not yet validated for the same product, location, lot and package.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds an optional setting that blocks users from changing the counted quantity of a stock quant while that same product, location, lot and package is still being picked in an unvalidated transfer.
This module adds a safety check to inventory adjustments. When the new option is enabled, Odoo refuses to save a changed counted quantity on a stock quant if there are transfer lines in progress (not yet done or cancelled) that already have a done quantity for the same product, location, lot and package.
Where it appears: - A new checkbox "Stock quant no inventory if being picked" is added to the Inventory settings, in the Operations section. - The setting is stored per company, so each company can decide whether to use it.
What it changes: - When a user tries to write a new counted quantity on a quant, or to apply an inventory adjustment, the system checks for in-progress move lines with a positive done quantity matching the quant's product, location, lot, package, owner and company. - If such lines exist, an error message is shown listing the quantities and products being picked, and the change is blocked. - If the option is off, behaviour is unchanged.
The module touches stock.quant for the check and the write/apply logic, res.company to store the setting, and res.config.settings to expose it in the settings screen.
Depends on
Models and fields (3)
- res.company · extends an existing modelstock_quant_no_inventory_if_being_picked (Stock quant no inventory if being picked)
- stock.quant · extends an existing model
- res.config.settings · extends an existing modelstock_quant_no_inventory_if_being_picked
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0To prevent inventory of quants being processed you must check the Stock quant no inventory if being picked parameter into the stock settings panel. (stock -> configuration -> settings)
No verified information in OCA: Installation, Configuration.
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.