OdooWiki OCA HUB

Account Invoice line with sequence number

account_invoice_line_sequence folder_open OCA/account-invoicing open_in_new
Accounting License: AGPL-3

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.0

Adds 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

account
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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.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.