Check Digit on Sequences

sequence_check_digit
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/18.0/sequence_check_digit
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Maksym Yankin, Ricardoalso
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits base.sequence_view
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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/16.0/sequence_check_digit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/15.0/sequence_check_digit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, kaynnan
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/14.0/sequence_check_digit
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSGitHub, oca-travis, Weblate, OCA-git-bot, Eduardo De Miguel, schhatbar, schhatbar-initos
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/13.0/sequence_check_digit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/12.0/sequence_check_digit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/11.0/sequence_check_digit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, OCA Transbot, oca-travis
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/sequence_check_digit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA Transbot, Dave Lasley, oca-travis
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/sequence_check_digit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSOCA Transbot, Thomas Binsfeld, oca-travis
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sequence_view ir.sequence field Inherits base.sequence_view
Models touched (1)

New fields (1)
  • check_digit_formula Selection
    default='none' selection=[('none', 'None'), ('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)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-ux
PULL REQUEST
PULL REQUEST[19.0][MIG] sequence_check_digit: Migration to 19.0 (#1273)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-ux
PULL REQUEST
PULL REQUEST[MIG] sequence_check_digit: Migration to 19.0 (#1270)