Check Digit on Sequences
sequence_check_digit · OCA/server-ux
OCA/server-tools 9.0–10.0 → OCA/server-ux 11.0–18.0
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 20 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
Description
This module was written to configure check digits on sequences added on the end. It is useful as a control of the number on visual validation.
It is useful when some manual checks are required or on integrations. The implemented codes can avoid modification of one character and flip of two consecutive characters.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sequence_view |
ir.sequence | Inherits base.sequence_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (1)
-
check_digit_formulaSelectiondefault='none'selection=[('none', 'None'), ('ean', 'EAN'), ('luhn', 'Luhn'), ('damm', 'Damm'), ('verhoeff', 'Verhoeff'), ('ISO7064_11_2', 'ISO 7064 Mod 11, 2'), ('ISO7064_11_10', 'ISO 7064 Mod 11, 10'), ('ISO7064_37_2', 'ISO 7064 Mod 37, 2'), ('ISO7064_37_36', 'ISO 7064 Mod 37, 36'), ('ISO7064_97_10', 'ISO 7064 Mod 97, 10')]
-
check_check_digit_formula(self)@api.constrains('check_digit_formula', 'prefix', 'suffix') -
get_check_digit(self, code) -
get_formula_map(self) -
get_next_char(self, number_next)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…