OdooWiki OCA HUB
Purchase License: AGPL-3

This module adds a wizard to merge purchase order.

A wizard that can be called from tree view of purchase orders. If merge criteria are validate: All lines of all PO are "transferred" to the first one and some information like 'origin' and 'partner_ref' are concatenated. We post a message on the chatter to indicate when the merge operation occurs and what were the PO concerned. The empty PO are "canceled"

Merge criteria: * PO are from the same supplier * PO are in state 'draft' * PO have the same #. currency #. picking type #. incoterms

  • payment terms #. fiscal position

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Lets purchasing users combine several draft purchase orders from the same supplier into one, moving all lines to a chosen destination order and cancelling the emptied ones.

This module adds a merge wizard to the Purchase app. From the list of purchase orders, users select several quotations and run the "Merge Selected Purchase" action, which opens a small form showing the selected orders and a "Destination" field to pick which order will receive everything.

Before anything happens, the wizard checks that the orders can be merged. All must be in draft (quotation) state and share the same supplier, currency, picking type, incoterm, payment terms and fiscal position. If not, a message lists exactly what differs and nothing is merged.

When the merge runs, all order lines of the other orders are moved into the destination order. The "origin" and "partner reference" texts of the merged orders are combined into the destination order. A note is posted in the chatter of both the destination order and each merged order, saying which orders were merged together. The emptied orders are then cancelled.

The wizard is only available to standard purchase users. It works on purchase.order records and relies on the purchase order approval module.

Models and fields (1)
  • purchase.merge.automatic.wizard · new modelpurchase_ids, dst_purchase_id (Destination)

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

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 17.0

To use this module, you need to:

  • Merge purchase order with required criteria

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.