forked from Vauxoo/stock-logistics-barcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__openerp__.py
70 lines (65 loc) · 2.92 KB
/
__openerp__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- coding: utf-8 -*-
##############################################################################
#
# This module is copyright (C) 2012 Numérigraphe SARL. All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Decoding API for GS1-128 (aka UCC/EAN-128) and GS1-Datamatrix',
'version': '1.0',
'author': u'Numérigraphe',
'website': 'http://numerigraphe.com',
'category': 'Generic Modules/Inventory Control',
'description': """
This module provides an API to decoding the content of structured barcodes \
like GS1-128 or GS1-Datamatrix.
GS1-128 (formerly known as UCC-128, EAN 128 or UCC/EAN-128), and GS1-Datamatrix \
are standards for encoding item identification and logistics data.
Physically, GS1-128 is represented as a 1-dimension Code-128 barcode and \
GS1-Datamtrix is represented as a 2-dimensions Datamatrix barcode.
When those barcodes are read, their content can be decode into multiple values \
using a set of standard "Application Identifiers". For example, most pharmacy \
items have a GS1-Datamatrix barcode containg their GTIN, lot number and \
expiry date.
This module does not directly allow you to print or scan barcodes.
Instead, the focus of this module is on decoding the data contained in \
barcodes. To this end, it provides objects to fine-tune the Application Identifiers and
the associated data types.
Caveat Emptor: when an "Application Identifiers" has variable-length data, \
the barcodes must contain a special character (<GS>, group separator) \
but as this is not an ASCII character. Some barcdode readers will not include \
this character: decoding the structured data will then be impossible. Other \
readers will translate GS1 to ASCII character 29, but this character is not \
printable, and some applications may not record it. Yet other readers will \
let you configure how to map <GS>, which may help improve compatibility.
""",
'depends': [
'product',
],
'init_xml': [],
'update_xml': [
'gs1_barcode_view.xml',
'res_users_view.xml',
'data/gs1_barcode.csv',
"security/ir.model.access.csv",
],
'test': [
'test/gs1_barcode_test.yml'
],
'active': False,
'installable': False,
'license': 'GPL-3',
}