Repository
OCA/server-ux · module folder · Try on Runboat
Module version
1.1.0
Category
Reporting
Folder size
0.04 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-ux
Last tracking update
2026-08-07 08:42:53
Authors
Odoo Community Association (OCA), Creu Blanca
Maintainers
Odoo Community Association (OCA), Creu Blanca
Committers
Ricardoalso, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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_formula Selection
    default='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')]
Public methods (4)
  • 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…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
140 days ago
Last activity
4 days ago
Repository
OCA/server-ux
Pull request
[19.0][MIG] sequence_check_digit: Migration to 19.0 (#1273)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
142 days ago
Last activity
18 days ago
Repository
OCA/server-ux
Pull request
[MIG] sequence_check_digit: Migration to 19.0 (#1270)