Skip to main content

Add option to group invoice lines per account

Project description

License: AGPL-3

Account Group Invoice Lines

This module was written to extend the option Group Invoice Lines of the journal. With this module, you can choose to group the account move lines generated when you validate an invoice per account, instead of grouping per product.


To configure this module, go to the menu Accounting > Configuration > Journals > Journals and select a sale or purchase journal. On the form view of the journal, you have an option Group Invoice Lines. If you activate this option, you will see a new option Group by with two possible values:

  • by Product: the account move lines generated when you validate an invoice will be grouped by product, account, analytic account, analytic tags and tax (this is the behavior when this module is not installed)
  • by Account: the account move lines will be grouped by account, analytic account, analytic tags and tax, without taking into account the product.


Try me on Runbot

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 smashing it by providing a detailed and welcomed feedback.




Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page