account_invoice_section_sale_order
Automatically organize invoice lines from multi-order invoicing into sections labeled per originating sale order.
Key Features
- sale.order: When generating invoices that span multiple sale orders, the system inserts section headers for each order and sequences their invoice lines together.
- sale.order: Section headers use the partner's custom naming scheme or the company's default expression, falling back to the sale order reference.
- res.partner: Partners can hold a Python expression naming scheme for invoice sections, and only members of the dedicated security group may edit it.
- res.company: Companies configure both the invoice section naming scheme and the grouping target used when creating invoice sections.
- res.config.settings: Accounting settings expose the invoice section grouping selector and naming scheme fields for configuration.
- account.move: Invoice lines are sorted according to the configured grouping path and an error is raised if the grouping value is unrecognized.