TIP: You can type at any time to perform a new search.
Account Invoice Merge
account_invoice_merge · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Finance
- Folder size
- 0.43 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoicing
- Last tracking update
- 2026-08-07 08:42:47
- Authors
- Odoo Community Association (OCA), Elico Corp
- Maintainers
- Odoo Community Association (OCA), Elico Corp
- Committers
- François Honoré, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module adds an action in the invoices list to merge invoices. Here are the conditions to allow merging: - Type should be the same (Customer Invoice, Supplier Invoice, Customer Refund or Supplier Refund) - Partner should be the same - Currency should be the same - Account receivable account should be the same
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_invoice_merge |
Merger Partner Invoice | invoice.merge | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (4)-
do_merge(self, keep_references=True, date_invoice=False, remove_empty_invoice_lines=True)To merge similar type of account invoices. Invoices will only be merged if: * Account invoices are in draft * Account invoices belong to the same partner * Account invoices are have same company, partner, address, currency, journal, currency, salesman, account, type Lines will only be merged if: * Invoice lines are exactly the same except for the quantity and unit @param self: The object pointer. @param keep_references: If True, keep reference of original invoices @return: new account invoice id -
make_key(self, br, fields)Return a hashable key -
merge_callback(self, invoices_info, old_invoices)@api.model -
order_line_update_invoice_lines(todos, all_old_inv_line)@staticmethod
New fields (3)
-
date_invoiceDateargs: 'Invoice Date' -
error_messageText -
keep_referencesBooleandefault=True args: 'Keep references from original invoices'
-
default_get(self, default_fields)@api.modelIf we're creating a new account through a many2one, there are chances that we typed the account code instead of its name. In that case, switch both fields values. -
merge_invoices(self)To merge similar type of account invoices. @param self: The object pointer. @return: account invoice action
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 973 days ago
- Last activity
- 107 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [17.0][MIG] account_invoice_merge: Migration to 17.0 (#1632)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 14 days ago
- Last activity
- 13 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [19.0][MIG] account_invoice_merge: Migration to 19.0 (#2422)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 157 days ago
- Last activity
- 14 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [19.0][MIG] account_invoice_merge: Migration to 19.0 (#2295)