Account Group Invoice Lines
Add option to group invoice lines per account
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Adds a 'Group by' option on accounting journals so you can choose whether invoice journal entries are grouped by product or only by account.
When you validate a customer or vendor invoice, Odoo creates accounting entries. This module lets you control how those entry lines are grouped, per journal.
On the journal form (Accounting configuration), a new 'Group by' field appears right after the existing 'Group invoice lines' option. It is only visible and required when 'Group invoice lines' is enabled. You can choose:
- 'By Product': entry lines are grouped by product, account, analytic account and tax code.
- 'By Account': entry lines are grouped by account, analytic account and tax code, ignoring the product.
The default value is 'By Account'. When a journal is set to group by account, the generated move lines lose their product reference and their label is replaced by '/', so the accounting entry shows a single line per account instead of one line per product.
The module extends account.invoice and account.journal, and adds a field to the existing journal form view. It does not add new menus or reports.
Depends on
Models and fields (2)
- account.invoice · extends an existing model
- account.journal · extends an existing modelgroup_method (Group by)
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/account-invoicing.
terminal Installation and usage
No verified informationInstallation 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.