OdooWiki OCA HUB

Acccount Invoice Section Sale Order

account_invoice_section_sale_order folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

When invoicing multiple sale orders at the same time, sale orders may be grouped by customer into a single invoice. Unfortunately when this happens, it is hard to know which invoice line belongs to which sale order.

This module helps by grouping invoicing lines into sections with the name of the targeted sale order. This is only done when an invoice targets multiple sale order.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When one invoice covers several sale orders, this module inserts titled sections on the invoice so each group of lines is clearly linked to its sale order. The section titles can be customised in Settings or per customer.

When you invoice several sale orders for the same customer at once, Odoo normally merges all the lines into one invoice, making it hard to see which line comes from which order. This module adds a titled section line before each group of lines, using the sale order name by default.

  • Sections are only added when the invoice actually covers more than one sale order; a single-order invoice stays unchanged.
  • Lines are reordered so that all lines of the same sale order appear together under their section.
  • The section title is built from the sale order name, and can include the customer reference if one is set.

Where it appears in Odoo: - In Settings, under Invoicing, a new 'Section names' block lets you choose the grouping object (currently 'Group by sale Order') and a naming scheme. - On a customer form, in the Accounting tab, a 'Custom section name on invoice' group lets you set a naming scheme for that customer, visible only to users with the dedicated permission.

The naming scheme is a small formula where you can use the sale order and the current time; leave it empty to keep the default name. The customer setting takes priority over the company setting. The module touches sale.order, account.move, account.move.line, res.company, res.partner and res.config.settings.

Depends on

accountsale

Required by other modules

Models and fields (6)
  • sale.order · extends an existing model
  • res.company · extends an existing modelinvoice_section_grouping, invoice_section_name_scheme
  • res.partner · extends an existing modelinvoice_section_name_scheme
  • account.move · extends an existing model
  • account.move.line · extends an existing model
  • res.config.settings · extends an existing modelinvoice_section_grouping, invoice_section_name_scheme

Text generated by AI (DeepSeek) from reading the Odoo 19.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-invoicing.

terminal Installation and usage

No verified information

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.

info

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.