Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 0 migration notes 4 models 9 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
freezegun
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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 form Inherits account.view_account_journal_form
view_account_journal_tree Add move number sequence to tree account.journal tree Inherits account.view_account_journal_tree
view_account_move_filter Add move number to search account.move Inherits account.view_account_move_filter
view_account_move_line_filter Add move number to search account.move.line Inherits account.view_account_move_line_filter
view_move_form Add move number to form account.move form Inherits account.view_move_form
view_move_line_form Add move number to form account.move.line form Inherits account.view_move_line_form
view_move_line_tree Add move number to tree account.move.line tree Inherits account.view_move_line_tree
view_move_tree Add move number to tree account.move tree Inherits account.view_move_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

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

Loading…

Loading…

Loading…

Loading…

Loading…