OdooWiki OCA HUB

Stock Inventory Virtual Location Change Quantity Reason

stock_inventory_virtual_location_change_qty_reason folder_open OCA/stock-logistics-warehouse open_in_new
Warehouse License: AGPL-3

Glue module for stock_inventory_virtual_location and stock_change_qty_reason modules.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Links inventory adjustment reasons to a virtual adjustment location, so choosing a reason automatically fills in the virtual location on inventory lines and the change quantity wizard.

This is a small glue module that connects two existing features: inventory adjustment reasons and virtual inventory locations. It does not add a new menu of its own; instead it enriches screens that already exist.

  • On the Preset Reason configuration screen (the list of inventory adjustment reasons), a new field "Virtual Adjustment Location" is added. It only accepts locations whose usage is an inventory type, and it is only visible to users who have the multi-locations setting enabled.
  • When a user picks a preset reason on an inventory adjustment line, the virtual location from that reason is copied automatically onto the line. The user can still change it afterwards.
  • The same automatic behaviour happens in the "Change Product Quantity" wizard: selecting a preset reason fills in the virtual location.

In short, it saves typing and keeps the virtual location consistent with the chosen reason. It touches stock.inventory.line, stock.inventory.line.reason and the stock.change.product.qty wizard. No new reports, emails or scheduled jobs are added.

Models and fields (3)
  • stock.inventory.line · extends an existing model
  • stock.change.product.qty · extends an existing model
  • stock.inventory.line.reason · extends an existing modelvirtual_location_id (Virtual Adjustment Location)

Text generated by AI (DeepSeek) from reading the Odoo 12.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

No verified information

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.

info

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.