OdooWiki OCA HUB

DDMRP Product Replace

ddmrp_product_replace folder_open OCA/ddmrp open_in_new
Warehouse Management License: LGPL-3

Provides a tool for product replacement.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

A guided tool that replaces one product with another in DDMRP buffers, either by creating new buffers for the substitute product or by swapping the product inside existing buffers, while keeping past demand and stock visibility.

This module adds a Product Replacement Tool to the DDMRP configuration menu (visible to inventory managers). In the wizard you pick the products to be replaced, the buffers affected are listed automatically, and you choose the substitute product — either an existing one or a brand new product created by copying the old one, optionally copying routes, put-away rules and packaging.

Two replacement modes are offered: create a new buffer for the replacing product, or replace the product directly in the existing buffers. When several products are replaced at once, only the buffers of the primary product are used to create the replacement buffers; the others are linked to them.

On each buffer, a 'Replaced by' link and a 'Replaces' counter are shown, with a red alert banner when a product is being replaced. A button opens the list of buffers replaced by the current one. Buffers can be flagged as replacement products, and you can include the incoming and on-hand quantities of the replaced products in the buffer status calculation, which affects the net flow position. Past demand of replaced products can be considered as demand for the new product.

The module blocks recursive replacement chains, requires the buffered product to be part of its own demand products, and prevents replacing buffers that are already replaced. It also warns users in the procurement request wizard when some products are being replaced, and stops procurement recommendations for buffers that have been replaced.

Depends on

Required by other modules

Menus it adds

menu_ddmrp_product_replace
Models and fields (3)
  • stock.buffer · extends an existing modelreplaced_by_id (Replaced by), demand_product_ids (Considered As Demand), replacement_for_ids (Replaces), replacement_for_count, is_replacement_product (Replacement Product), replaced_by_alert_text, use_replacement_for_buffer_status (Include Incoming & On-Hands of replaced products)
  • ddmrp.product.replace · new modelmode, buffer_ids (Affected Buffers), copy_route (Copy Routes), copy_putaway (Copy Put Away Strategy), use_existing (Use Existing/New Product), multi_product, copy_packaging, new_product_id (Substitute Product), old_product_ids (Replaced Products), new_product_name, is_already_replaced, consider_past_demand (Consider Old Product Demand), primary_old_product_id (Primary Replaced Product), new_product_default_code (New Product Internal Ref.)
  • make.procurement.buffer · extends an existing modelhas_replaced_buffers, replaced_by_alert_text

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 7 confirmed, 2 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

Go to Inventory \> Configuration \> DDMRP \> Product Replacement Tool.

Then you can fill the wizard options to complete the replacement. There are two modes of operation: Create a new buffer for the replacing product and Replace product in existing buffers.

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.