General sequence in account journals
account_journal_general_sequence · OCA/account-financial-tools
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → ir.sequencecheck_company=Truecomodel_name='ir.sequence'compute='_compute_entry_number_sequence'copy=Falsedomain="[('company_id', '=', company_id)]"help='Sequence used for account entry numbering.'readonly=Falsestore=Truestring='Account entry number sequence' -
entry_number_sequence_id_nameCharrelated='entry_number_sequence_id.code'
No public methods.
New fields (1)
-
entry_numberCharcompute='_compute_entry_number'help='Automatic numbering, based on journal configuration.'index=Truereadonly=Truestore=True
No public methods.
New fields (1)
-
entry_numberCharrelated='move_id.entry_number'
No public methods.
New fields (4)
-
available_sequence_idsMany2many → ir.sequencecomodel_name='ir.sequence'default=<expr>string='Available sequences' -
sequence_idMany2one → ir.sequencecomodel_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_dateDatedefault=<expr>help='Renumber account moves starting this day.'required=True -
starting_numberIntegerdefault=1help='Reset sequence to this number before starting.'
-
action_renumber(self)Renumber moves. Makes sure moves exist. Sorts them. Resets sequences. Renumbers them.
Loading…
Loading…
Loading…
Loading…
Loading…