Skip to Content
osloop_line_numbers

Line Numbers

Shows an automatic line number (#) beside every line of sale orders, purchase orders, transfers, invoices and journal items.

  • Odoo 19
  • Sales
  • 19.0.1.0.1
1

Overview

On long documents it is hard to refer to a specific row without counting. This module adds a running line number column to the line lists of sale orders, purchase orders, stock transfers, vendor bills and invoices, and journal entries. The number is display-only and is never stored, so no data changes. It is recomputed from the current order of the lines, so deleting a line renumbers the rest from 1 to n with no gaps. Sections, subsections and notes are not numbered. It works by inheriting the standard Odoo form and list views, adds no new models or access rules, and uses the standard access of each line model.

2

Usage steps

  1. 1

    Sale order lines

    Open Sales > Orders and a quotation: the order lines list shows a # column as its first column.

    • Products are numbered 1 to n in screen order
    • Sections and notes show no number
  2. 2

    Purchase order lines

    Open Purchase > Orders and an order: the order lines list carries the same # column.

    • Same numbering rules as sales
    • Display only, nothing is saved
  3. 3

    Transfer operations

    Open a transfer (receipt or delivery) and its Operations tab: every move is numbered 1 to n.

    • The # column is the first column of the list
    • Useful when checking a delivery line by line
  4. 4

    Invoices and bills

    Open an invoice or vendor bill: the Invoice Lines tab shows the # column before the handle.

    • Invoice lines are numbered in screen order
    • Sections and notes are skipped
  5. 5

    Journal items

    Open a journal entry's Journal Items tab, or Accounting > Journal Items: each line has a # number.

    • The list column is optional and shown by default
    • Numbers follow sequence, then id
4

Roles

Benefiting roles
Role
Sales user
Purchasing user
Warehouse user
Accountant
5

Dependencies

  • sale
  • purchase
  • stock
  • account

Want to know more or try this app? Contact us

Shows an automatic line number (#) beside every line of sale orders, purchase orders, transfers, invoices and journal items.

Contact us