It's easy for the same product to end up on multiple lines of a Purchase Order added separately during editing, imported from different sources, or simply duplicated by mistake leaving you with a cluttered PO and quantities split across several rows instead of one clear total. The Auto Merge Duplicate Purchase Order Line module for Odoo solves this with two simple options: merge duplicate lines manually and automatically when the order is created or edited, by clicking a Merge Duplicate Lines button. Whether you prefer hands-on control or a fully automated cleanup, this module keeps your Purchase Orders accurate and easy to read, with duplicate product lines consolidated into a single line and combined quantity.
Why Need Auto Merge Duplicate Purchase Order Line
Duplicate lines on a Purchase Order aren't just a cosmetic issue they can lead to confusion during approval, make it harder to verify totals at a glance, and even cause discrepancies when the PO is matched against received goods or vendor bills. This is especially common when products are added in multiple steps, imported from a spreadsheet, or added by different team members working on the same order. Standard Odoo doesn't automatically catch or fix this, leaving users to manually scan through lines and merge quantities by hand. This module removes that manual cleanup step entirely.
Features
- This module helps user to merge the duplicate line in purchase order.
- User can also merge the duplicate lines manually and automatically when order create or edit.
Manual Merge Duplicate Purchase Order Line
- User can merge the duplicate lines by clicking on Merge Duplicate Lines button.


Automatic Merger Duplicate Purchase Order Line
- User can also merge the duplicate order line automatically when order create or edit.



