Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] sequence_check_digit: Migration to 18.0 #988

Open
wants to merge 27 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ea6e3d1
[ADD] Sequence check Digit (#1000)
etobella Sep 28, 2017
f617546
[MIG] sequence_check_digit: Migration to 11.0
etobella Oct 7, 2017
a39065f
[UPD] Update sequence_check_digit.pot
oca-travis Jun 29, 2018
d9b4c0f
Translated using Weblate (Español (España))
etobella Jul 13, 2018
79fb15c
[12.0][MIG] sequence_check_digit
Jun 4, 2019
472baf8
[UPD] Update sequence_check_digit.pot
oca-travis Feb 27, 2020
9f65121
[UPD] README.rst
OCA-git-bot Feb 27, 2020
0add505
Update translation files
oca-transbot Mar 4, 2020
74f6f68
[IMP] sequence_check_digit: black, isort, prettier
Jul 20, 2020
0b9001d
[13.0][MIG] sequence_check_digit
Jul 20, 2020
cbcaea1
[UPD] Update sequence_check_digit.pot
oca-travis Jan 11, 2021
63030de
[IMP] sequence_check_digit: black, isort, prettier
schhatbar-initos Mar 19, 2021
6635a4d
[14.0][MIG]sequence_check_digit
schhatbar-initos Mar 19, 2021
3e44a61
[UPD] Update sequence_check_digit.pot
oca-travis May 1, 2021
aa250c6
[UPD] README.rst
OCA-git-bot May 1, 2021
0923ac0
[14.0] [FIX] external_dependency python-stdnum
Shide Feb 25, 2022
ea5f8e2
sequence_check_digit 14.0.1.0.1
OCA-git-bot Feb 28, 2022
084b6bd
[FIX] Removed external dependencies already defined in Odoo base
Shide Feb 28, 2022
78a6879
sequence_check_digit 14.0.1.0.2
OCA-git-bot Feb 28, 2022
c462b57
[UPD] README.rst
OCA-git-bot Sep 3, 2023
11322b3
Update translation files
weblate Oct 9, 2023
73eb568
Added translation using Weblate (Italian)
mymage Dec 2, 2024
9aac89b
[MIG] sequence_check_digit: Migration to 16.0
etobella Dec 31, 2024
1020c01
[UPD] Update sequence_check_digit.pot
Jan 7, 2025
c1e6546
[BOT] post-merge updates
OCA-git-bot Jan 7, 2025
9b9fdf8
[IMP] sequence_check_digit: pre-commit auto fixes
yankinmax Jan 9, 2025
dc17f8b
[MIG] sequence_check_digit: Migration to 18.0
yankinmax Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions sequence_check_digit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
========================
Check Digit on Sequences
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e86db4afe0793461a9926db33ec5b1088191754ed9cde91f4fa2990f25c5f202
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github
:target: https://github.com/OCA/server-ux/tree/18.0/sequence_check_digit
:alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-sequence_check_digit
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
:local:

Usage
=====

- Access sequences and configurate the model to use.

- The model will check if the format of prefix, suffix and number is
valid

- Implemented algorithms

- Luhn: [0-9]\*
- Damm: [0-9]\*
- Verhoeff: [0-9]\*
- ISO 7064 Mod 11, 2: [0-9]\*
- ISO 7064 Mod 11, 10: [0-9]\*
- ISO 7064 Mod 37, 2: [0-9A-Z]\*
- ISO 7064 Mod 37, 36: [0-9A-Z]\*
- ISO 7064 Mod 97, 10: [0-9A-Z]\*

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-ux/issues/new?body=module:%20sequence_check_digit%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Creu Blanca

Contributors
------------

- Enric Tobella <[email protected]>
- Sunanda Chhatbar <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/18.0/sequence_check_digit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions sequence_check_digit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

from . import models
16 changes: 16 additions & 0 deletions sequence_check_digit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (C) 2017 Creu Blanca
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
"name": "Check Digit on Sequences",
"version": "18.0.1.0.0",
"category": "Reporting",
"website": "https://github.com/OCA/server-ux",
"author": "Creu Blanca, Odoo Community Association (OCA)",
"license": "LGPL-3",
"installable": True,
"application": False,
"summary": "Adds a check digit on sequences",
"depends": ["base"],
"data": ["views/sequence_views.xml"],
}
104 changes: 104 additions & 0 deletions sequence_check_digit/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_check_digit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-28 10:14+0000\n"
"PO-Revision-Date: 2018-07-13 08:48+0000\n"
"Last-Translator: Enric Tobella <[email protected]>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.0.1\n"

#. module: sequence_check_digit
#: code:addons/sequence_check_digit/models/ir_sequence.py:0
#, python-format
msgid "%s is not an implemented function"
msgstr "%s no es una función implementada"

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__check_digit_formula
msgid "Check Digit Formula"
msgstr "Fórmula del Dígito de control"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__damm
msgid "Damm"
msgstr "Damm"

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__display_name
msgid "Display Name"
msgstr ""

#. module: sequence_check_digit
#: code:addons/sequence_check_digit/models/ir_sequence.py:0
#, python-format
msgid "Format is not accepted"
msgstr "El formato no está aceptado"

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__id
msgid "ID"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_11_10
msgid "ISO 7064 Mod 11, 10"
msgstr "ISO 7064 Mod 11, 10"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_11_2
msgid "ISO 7064 Mod 11, 2"
msgstr "ISO 7064 Mod 11, 2"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_37_2
msgid "ISO 7064 Mod 37, 2"
msgstr "ISO 7064 Mod 37, 2"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_37_36
msgid "ISO 7064 Mod 37, 36"
msgstr "ISO 7064 Mod 37, 36"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_97_10
msgid "ISO 7064 Mod 97, 10"
msgstr "ISO 7064 Mod 97, 10"

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence____last_update
msgid "Last Modified on"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__luhn
msgid "Luhn"
msgstr "Luhn"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__none
msgid "None"
msgstr "Ninguno"

#. module: sequence_check_digit
#: model:ir.model,name:sequence_check_digit.model_ir_sequence
#, fuzzy
msgid "Sequence"
msgstr "ir.sequence"

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__verhoeff
msgid "Verhoeff"
msgstr "Verhoeff"

#~ msgid "Function not found"
#~ msgstr "Función no encontrada"
98 changes: 98 additions & 0 deletions sequence_check_digit/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_check_digit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: sequence_check_digit
#: code:addons/sequence_check_digit/models/ir_sequence.py:0
#, python-format
msgid "%s is not an implemented function"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__check_digit_formula
msgid "Check Digit Formula"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__damm
msgid "Damm"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__display_name
msgid "Display Name"
msgstr ""

#. module: sequence_check_digit
#: code:addons/sequence_check_digit/models/ir_sequence.py:0
#: code:addons/sequence_check_digit/models/ir_sequence.py:0
#, python-format
msgid "Format is not accepted"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence__id
msgid "ID"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_11_10
msgid "ISO 7064 Mod 11, 10"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_11_2
msgid "ISO 7064 Mod 11, 2"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_37_2
msgid "ISO 7064 Mod 37, 2"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_37_36
msgid "ISO 7064 Mod 37, 36"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__iso7064_97_10
msgid "ISO 7064 Mod 97, 10"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields,field_description:sequence_check_digit.field_ir_sequence____last_update
msgid "Last Modified on"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__luhn
msgid "Luhn"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__none
msgid "None"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model,name:sequence_check_digit.model_ir_sequence
msgid "Sequence"
msgstr ""

#. module: sequence_check_digit
#: model:ir.model.fields.selection,name:sequence_check_digit.selection__ir_sequence__check_digit_formula__verhoeff
msgid "Verhoeff"
msgstr ""
Loading
Loading