General sequence in account journals

account_journal_general_sequence
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/19.0/account_journal_general_sequence
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Emilio Pascual, Lins Denaux
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES freezegun
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of account to support sequenced
entry numbers and to allow you to renumber them if needed, on demand.

It adds a new field called *Entry number*. This is independent from the
*Number* that Odoo adds by default, and has different purpose.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_move_renumber_wizard_view_form Renumber form account.move.renumber.wizard form New
view_account_journal_form Add move number sequence to form account.journal field Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal field Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move field Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line field Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move xpath Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line field Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_tree Add move number to tree account.move field Inherits account.view_move_tree
Models touched (4)

New fields (2)
  • entry_number_sequence_id Many2one → ir.sequence
    check_company=True comodel_name='ir.sequence' compute='_compute_entry_number_sequence' copy=False domain="[('company_id', '=', company_id)]" help='Sequence used for account entry numbering.' readonly=False store=True string='Account entry number sequence'
  • entry_number_sequence_id_name Char
    related='entry_number_sequence_id.code'
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    compute='_compute_entry_number' help='Automatic numbering, based on journal configuration.' index=True readonly=True store=True
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    related='move_id.entry_number'
Public methods (0)

No public methods.

New fields (4)
  • available_sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Available sequences'
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' default=<expr> domain="[('id', 'in', available_sequence_ids)]" help='Sequence to use for renumbering. Affects all journals that use this sequence.' required=True string='Sequence'
  • starting_date Date
    default=<expr> help='Renumber account moves starting this day.' required=True
  • starting_number Integer
    default=1 help='Reset sequence to this number before starting.'
Public methods (1)
  • action_renumber(self)
    Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/18.0/account_journal_general_sequence
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Eduardo de Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
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 freezegun
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of account to support sequenced
entry numbers and to allow you to renumber them if needed, on demand.

It adds a new field called *Entry number*. This is independent from the
*Number* that Odoo adds by default, and has different purpose.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
account_move_renumber_wizard_view_form Renumber form account.move.renumber.wizard form New
view_account_journal_form Add move number sequence to form account.journal field Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal field Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move field Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line field Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move xpath Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line field Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_tree Add move number to tree account.move field Inherits account.view_move_tree
Models touched (4)

New fields (2)
  • entry_number_sequence_id Many2one → ir.sequence
    check_company=True comodel_name='ir.sequence' compute='_compute_entry_number_sequence' copy=False domain="[('company_id', '=', company_id)]" help='Sequence used for account entry numbering.' readonly=False store=True string='Account entry number sequence'
  • entry_number_sequence_id_name Char
    related='entry_number_sequence_id.code'
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    compute='_compute_entry_number' help='Automatic numbering, based on journal configuration.' index=True readonly=True store=True
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    related='move_id.entry_number'
Public methods (0)

No public methods.

New fields (4)
  • available_sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Available sequences'
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' default=<expr> domain="[('id', 'in', available_sequence_ids)]" help='Sequence to use for renumbering. Affects all journals that use this sequence.' required=True string='Sequence'
  • starting_date Date
    default=<expr> help='Renumber account moves starting this day.' required=True
  • starting_number Integer
    default=1 help='Reset sequence to this number before starting.'
Public methods (1)
  • action_renumber(self)
    Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/16.0/account_journal_general_sequence
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSJairo Llopis, Weblate, OCA-git-bot, oca-ci, Aritz Olea
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:47
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 freezegun
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_move_renumber_wizard_view_form Renumber form account.move.renumber.wizard form New
view_account_journal_form Add move number sequence to form account.journal field Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal field Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move field Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line field Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move xpath Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line field Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_tree Add move number to tree account.move field Inherits account.view_move_tree
Models touched (4)

New fields (2)
  • entry_number_sequence_id Many2one → ir.sequence
    check_company=True comodel_name='ir.sequence' compute='_compute_entry_number_sequence' copy=False domain="[('company_id', '=', company_id)]" help='Sequence used for account entry numbering.' readonly=False store=True string='Account entry number sequence'
  • entry_number_sequence_id_name Char
    related='entry_number_sequence_id.code'
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    compute='_compute_entry_number' help='Automatic numbering, based on journal configuration.' index=True readonly=True store=True
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    related='move_id.entry_number'
Public methods (0)

No public methods.

New fields (5)
  • available_sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Available sequences'
  • ending_date Date
    help='Renumber account moves up to this day (inclusive). If empty, all moves after starting date are renumbered.'
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' default=<expr> domain="[('id', 'in', available_sequence_ids)]" help='Sequence to use for renumbering. Affects all journals that use this sequence.' required=True string='Sequence'
  • starting_date Date
    default=<expr> help='Renumber account moves starting this day.' required=True
  • starting_number Integer
    default=1 help='Reset sequence to this number before starting.'
Public methods (1)
  • action_renumber(self)
    Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/15.0/account_journal_general_sequence
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSJairo Llopis, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
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 freezegun
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
account_move_renumber_wizard_view_form Renumber form account.move.renumber.wizard form New
view_account_journal_form Add move number sequence to form account.journal field Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal field Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move field Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line field Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move xpath Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line field Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_line_tree_grouped Add move number to tree account.move.line field Inherits account.view_move_line_tree_grouped
view_move_tree Add move number to tree account.move field Inherits account.view_move_tree
Models touched (4)

New fields (1)
  • entry_number_sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> help='Sequence used for account entry numbering.' string='Account entry number sequence'
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    compute='_compute_entry_number' help='Automatic numbering, based on journal configuration.' index=True readonly=True store=True
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    related='move_id.entry_number'
Public methods (0)

No public methods.

New fields (4)
  • available_sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Available sequences'
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' default=<expr> domain="[('id', 'in', available_sequence_ids)]" help='Sequence to use for renumbering. Affects all journals that use this sequence.' required=True string='Sequence'
  • starting_date Date
    default=<expr> help='Renumber account moves starting this day.' required=True
  • starting_number Integer
    default=1 help='Reset sequence to this number before starting.'
Public methods (1)
  • action_renumber(self)
    Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/14.0/account_journal_general_sequence
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSJairo Llopis, Luis González, OCA Transbot, Weblate, Rafael Blasco, OCA-git-bot, oca-ci, Eduardo De Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
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 (10)
XML IDNameModelTypeStatus
account_move_renumber_wizard_view_form Renumber form account.move.renumber.wizard form New
view_account_journal_form Add move number sequence to form account.journal field Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal field Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move field Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line field Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move xpath Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line field Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line field Inherits account.view_move_line_tree
view_move_line_tree_grouped Add move number to tree account.move.line field Inherits account.view_move_line_tree_grouped
view_move_tree Add move number to tree account.move field Inherits account.view_move_tree
Models touched (4)

New fields (1)
  • entry_number_sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> help='Sequence used for account entry numbering.' string='Account entry number sequence'
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    compute='_compute_entry_number' help='Automatic numbering, based on journal configuration.' index=True readonly=True store=True
Public methods (0)

No public methods.

New fields (1)
  • entry_number Char
    related='move_id.entry_number'
Public methods (0)

No public methods.

New fields (4)
  • available_sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Available sequences'
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' default=<expr> domain="[('id', 'in', available_sequence_ids)]" help='Sequence to use for renumbering. Affects all journals that use this sequence.' required=True string='Sequence'
  • starting_date Date
    default=<expr> help='Renumber account moves starting this day.' required=True
  • starting_number Integer
    default=1 help='Reset sequence to this number before starting.'
Public methods (1)
  • action_renumber(self)
    Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-financial-tools
PULL REQUEST
PULL REQUEST[MIG] account_journal_general_sequence (#2309)