Merge Duplicate Products
by Steven Marp https://apps.odoo.com/apps/modules/browse?author=Steven Marp$ 8.51
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 152 |
| Technical Name |
sm_merge_duplicate_product |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Steven Marp |
| Versions | 18.0 19.0 |
Merge Duplicate Products
One Click From The List
Select the duplicates in Products or Product Variants, then Actions > Merge Products. No separate screen to configure.
Stock Is Combined, Not Lost
On-hand quantities are added onto the kept product per location, lot, package, and owner using Odoo's own stock engine.
Every Document Follows
Sales, purchases, invoices, BOMs, and stock moves that pointed at a duplicate are reassigned to the kept product automatically.
Smart Default Target
The oldest record - almost always the original product - is preselected as the one to keep. You can change it anytime.
Built-In Safety Guards
Merging products with different types or tracking modes (lot/serial) is blocked, and every merge asks for confirmation first.
Full Audit Trail
The kept product's chatter records exactly which duplicates were merged into it, by whom, and when.
See It In Action
Three duplicate cabinets - 500, 7, and 10 on hand - merged into one product with 517.
1. Select the duplicates, hit Merge Products
Three "Large Cabinet" records with separate stock (7, 500, 10). Tick them and choose Merge Products straight from the Actions menu.
2. Wizard comes pre-filled
All selected duplicates land in From Products, and the oldest record is preselected as the product to keep.
3. Nothing happens without confirmation
A final confirmation reminds you the merge cannot be undone before anything is touched.
4. One product, combined stock
After the merge, a single Large Cabinet remains with 517 on hand - 500 + 7 + 10, nothing lost.
5. Audit trail in the chatter
The kept product logs "Merged with: ..." with user and timestamp, so the cleanup is always traceable.
6. Tracking mismatch is blocked
Serial-tracked and untracked products cannot be merged together - lot and serial data stays consistent.
7. Clear message on bad input
Selecting fewer than two products shows a friendly error instead of doing nothing - no guessing.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 152 |
| Technical Name |
sm_merge_duplicate_product |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Steven Marp |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module