Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 08:23:03
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
OCA-git-bot, sergio, oca-ci
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
None
Description
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

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
purchase_merge_automatic_wizard_form purchase.merge.automatic.wizard.form purchase.merge.automatic.wizard form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • dst_purchase_id Many2one → purchase.order
    comodel_name='purchase.order' string='Destination'
  • purchase_ids Many2many → purchase.order
    comodel_name='purchase.order'
Public methods (2)
  • action_merge(self)
    Merge Quotation button. Merge the selected purchases.
  • default_get(self, fields_list)
    @api.model

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
470 days ago
Last activity
5 days ago
Repository
OCA/purchase-workflow
Pull request
[18.0] [MIG] purchase_merge: Migration to 18.0 (#2671)