Odoo Community Association

Purchase Order Line Merge

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

This module allows users to select multiple purchase order lines from different purchase orders and merge them into a single new purchase order.

Unlike purchase_merge which works at the order level, this module operates at the line level, giving more granular control over which specific lines to consolidate.

Key features:

This module also adds the Qty Invoiced and Qty Received columns to the Purchase Order Lines list view for better visibility.

Table of contents

Usage

  1. Go to Purchase > Orders > Purchase Order Lines.
  2. Select the lines you want to merge.
  3. Click Action > Merge into Purchase Order.
  4. In the wizard, review or change the vendor and order date.
  5. Adjust the quantities and/or unit prices if needed. The default quantity is the available amount (original minus the greater of invoiced or received).
  6. Click Merge Lines to create the new purchase order.

The original purchase order lines will have their quantities reduced by the merged amount. If all lines of a purchase order reach zero, the order is automatically cancelled.

Validations will prevent merging lines from different currencies, different warehouses, or cancelled/locked orders.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • SpearHead

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/purchase-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.