Odoo can merge sales orders into a single invoice, grouped by partner and currency, when the sales orders are selected and invoiced together. This module extends the grouping to also consider any pre-existing draft invoices and merge them.
This feature is activated from Sales / Settings and assigned to the company settings.
Users assigned to the group 'Change sale to invoice merge proposal' have the possibility to activate or deactivate this option at the moment of invoicing.
If you also need to group on fields other than partner and currency, the OCA module sale_invoice_group_method allows you to specify alternative grouping methods and is fully compatible with this module.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0When invoicing sales orders, Odoo can now merge the new invoice with existing draft invoices for the same customer, instead of creating a separate one. A company setting and a checkbox on the invoicing wizard control this behaviour.
This module changes what happens when you invoice one or more sales orders. Normally Odoo creates a new draft invoice. With this module, if the customer already has a draft invoice, the new invoice lines can be added to that existing draft instead.
Where it appears: - In Sales / Settings, a new option labelled "Invoices" with the description "Merge new invoices with existing draft ones" is added to the sales settings. - On the invoicing wizard (the screen that opens when you click to invoice a sales order), a checkbox "Merge with draft invoices" appears for users in the group "Change sale to invoice merge proposal".
Business rules and behaviour: - The company setting defines the default value of the checkbox on the wizard. - If the checkbox is ticked, the system looks for existing draft invoices that contain lines linked to sales order lines, and merges the new invoice into them, grouping by the same criteria used for the sales order. - If the checkbox is not ticked, a separate invoice is created as usual.
The module touches the sales order, the invoicing wizard, the company settings and the general settings screen. It relies on the module sale_order_action_invoice_create_hook for the merging mechanism.
Depends on
Models and fields (4)
- sale.order · extends an existing model
- res.company · extends an existing modelsale_merge_draft_invoice (Invoices)
- res.config.settings · extends an existing modelsale_merge_draft_invoice (Invoices)
- sale.advance.payment.inv · extends an existing modelmerge_draft_invoice (Merge with draft invoices)
Text generated by AI (DeepSeek) from reading the Odoo 12.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 12.0Usage
Source · Odoo 12.0Create an Invoice from a single Sale Order:
- Go to 'Sales / Sales / Sales Orders'.
- Select or click in a sale order.
- Go to 'Action' and click 'Invoice Order' or press the button 'Invoice Order' if you are inside a sale order. The result, in case there are draft invoices that correspond to this one, is an existing draft invoice with the new lines added. In the wizard, if the user belongs to the group 'Change sale to invoice merge proposal', the option to deactivate the 'Merge with draft invoices' is given. In this case, the result is a new draft invoice is created following the usual behaviour.
Create Invoices from a group of Sales Orders:
- Go to 'Sales / Sales / Sales Orders'.
- Select all the sales orders with status 'To invoice'.
- Go to 'Action' and click 'Invoice Order'. As a result, new draft invoices will be merged with existing ones when corresponding. In the wizard, if the user belongs to the group 'Change sale to invoice merge proposal', the option to deactivate the 'Merge with draft invoices' is given. In this case, the result is a new draft invoice for every sale order following the usual behaviour.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.