Account Invoice line with sequence number

account_invoice_line_sequence
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/18.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, tendil
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, values)

New fields (1)
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' store=True string='Line Number'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/15.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSHolger Brunn, Weblate, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:37
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, values)

New fields (1)
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' store=True string='Sequence'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/14.0/account_invoice_line_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Camptocamp, Serpent CS
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci, Juany Davila
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.' string='original sequence'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' related='sequence' store=True string='Sequence'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/13.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSLois Rilo, Weblate, OCA-git-bot, Tom Blauwendraat, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_view_inheritance_extension
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES astor
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.' string='original sequence'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' related='sequence' store=True string='Sequence'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/12.0/account_invoice_line_sequence
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSGitHub, mreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_form account.invoice.form account.invoice xpath Inherits account.invoice_form
account_invoice_supplier_form account.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.' string='original sequence'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' related='sequence' store=True string='Sequence'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/11.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSahenriquez, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing.git
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_form account.invoice.form account.invoice xpath Inherits account.invoice_form
account_invoice_supplier_form account.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' readonly=True related='sequence' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/10.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSOCA Transbot, Moises Lopez - https://www.vauxoo.com/, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_form account.invoice.form account.invoice xpath Inherits account.invoice_form
account_invoice_supplier_form account.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' readonly=True related='sequence' store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/9.0/account_invoice_line_sequence
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Eficent, Serpent CS
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_invoice_form account.invoice.form account.invoice xpath Inherits account.invoice_form
account_invoice_supplier_form account.invoice.supplier.form account.invoice xpath Inherits account.invoice_supplier_form
report_invoice_sequence_qweb report_invoice_sequence_qweb ir.ui.view qweb Inherits account.report_invoice_document
Models touched (2)

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' store=True string='Max sequence in lines'
Public methods (1)
  • write(self, values)
    @api.multi

New fields (2)
  • sequence Integer
    default=9999 help='Shows the sequence of this line in the invoice.'
  • sequence2 Integer
    help='Shows the sequence of this line in the invoice.' readonly=True related='sequence' store=True
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-invoicing
PULL REQUEST
PULL REQUEST[16.0][MIG] account_invoice_line_sequence: Migration to 16.0 (#1945)