Account Invoice line with sequence number
Provides a new visible sequence field on invoice lines which helps users to identify invoice lines in the UI and printed reports.
The sequence number always starts at 1 and rises incrementally: 1, 2, 3, ... To keep it that way, all sequence numbers are recalculated when invoice lines are created or reordered. Section and note lines are skipped. The line number is printed on the invoice report.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a visible line number to invoice lines, always starting at 1 and increasing in order. The number is shown on the invoice form and printed on the invoice report.
This module adds a new field called "Line Number" to each invoice line. The number is automatically calculated so that product and account lines are numbered 1, 2, 3, ... in the order they appear, while section and note lines are left without a number (shown as 0 and hidden in the form).
- The line number is displayed as a read-only column in the invoice lines list on the invoice form. It is hidden for lines that have no number.
- The number is also printed on the invoice PDF report, in a new "Sequence" column before the product description.
- Whenever invoice lines are created, edited, or reordered, all line numbers are recalculated automatically to keep them consecutive.
- When the module is first installed, existing invoices are updated so their lines get correct numbers.
The module works on invoices and other accounting documents that use invoice lines (account.move and account.move.line). It does not change any accounting logic; it only adds a visual reference number to help users identify and discuss specific lines.
Depends on
Models and fields (2)
- account.move · extends an existing model
- account.move.line · extends an existing modelsequence2 (Line Number)
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.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.