OdooWiki OCA HUB

Stock Move - Do not merge by destination moves

stock_move_not_merge_by_dest_moves folder_open OCA/stock-logistics-workflow open_in_new
Inventory/Inventory License: LGPL-3

This module extends the functionality of stock move merging to allow you to never merge stock moves if those moves will go to different destination moves.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Prevents Odoo from merging stock moves that are linked to different destination moves, so each downstream operation keeps its own separate move. This keeps traceability between chained transfers intact.

When Odoo groups or merges stock moves (for example when confirming sales orders or processing transfers), it normally combines moves that look similar. This module changes that behaviour so moves are only merged when they point to the same destination moves.

  • It adds the destination moves link to the list of criteria Odoo uses to decide whether two stock moves can be merged.
  • It also adds that same criterion to the list used when merging negative (return or reversal) moves, so those are only combined when they share the same destination moves.
  • The result is that moves feeding different downstream operations stay separate, preserving the link between a move and the moves it creates next.

This affects the stock.move model and therefore any flow built on stock moves, including sales-driven deliveries through sale_stock. There are no new menus, screens, buttons or reports: the change is automatic and applies whenever Odoo performs move merging. No new fields, checks, emails or scheduled jobs are added.

Depends on

sale_stock
Models and fields (1)
  • stock.move · extends an existing model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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-workflow.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to have activated sales module:

  • Activate sale module.
  • Go to Warehouse and activate 2 steps shipping process.
  • Create and confirm a sale with 2 lines: One with discount and one without discount with the same product.
  • Confirm the sale.
  • Check the first picking (PICK) moves is not grouped.
  • Set quantity done on each line that differs (below) the reserved quantity on PICK picking and confirm it.
  • Go to the OUT picking, and check how quantities are distributed correctly.

No verified information in OCA: Installation, Configuration.

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.