Barcode - GS1 Nomenclature
barcodes_gs1_nomenclature · odoo/odoo
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 6 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
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.62 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_barcode_gs1_nomenclature_form |
Barcode Nomenclatures | barcode.nomenclature | form | Inherits barcodes.view_barcode_nomenclature_form |
view_barcode_gs1_nomenclature_tree |
Barcode Nomenclatures | barcode.nomenclature | tree | Inherits barcodes.view_barcode_nomenclature_tree |
view_barcode_gs1_rule_form |
Barcode Rule | barcode.rule | form | Inherits barcodes.view_barcode_rule_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
gs1_separator_fnc1Chardefault='(Alt029|#|\\x1D)'help='Alternative regex delimiter for the FNC1. The separator must not match the begin/end of any related rules pattern.'string='FNC1 Separator'trim=False -
is_gs1_nomenclatureBooleanhelp='This Nomenclature use the GS1 specification, only GS1-128 encoding rules is accepted is this kind of nomenclature.'string='Is GS1 Nomenclature'
-
gs1_date_to_date(self, gs1_date)@api.modelConverts a GS1 date into a datetime.date. :param gs1_date: A year formated as yymmdd :type gs1_date: str :return: converted date :rtype: datetime.date -
gs1_decompose_extended(self, barcode)Try to decompose the gs1 extended barcode into several unit of information using gs1 rules. Return a ordered list of dict -
parse_gs1_rule_pattern(self, match, rule) -
parse_nomenclature_barcode(self, barcode)
New fields (6)
-
associated_uom_idMany2one → uom.uomargs: 'uom.uom' -
encodingSelectiondefault=_default_encodingondelete={'gs1-128': 'set default'}selection_add=[('gs1-128', 'GS1-128')] -
gs1_content_typeSelectionhelp="The GS1 content type defines what kind of data the rule will process the barcode as: * Date: the barcode will be converted into a Odoo datetime; * Measure: the barcode's value is related to a specific unit; * Numeric Identifier: fixed length barcode following a specific encoding; * Alpha-Numeric Name: variable length barcode."string='GS1 Content Type' args: [('date', 'Date'), ('measure', 'Measure'), ('identifier', 'Numeric Identifier'), ('alpha', 'Alpha-Numeric Name')] -
gs1_decimal_usageBooleanhelp='If True, use the last digit of AI to determine where the first decimal is' args: 'Decimal' -
is_gs1_nomenclatureBooleanrelated='barcode_nomenclature_id.is_gs1_nomenclature' -
typeSelectionondelete={'quantity': 'set default', 'location': 'set default', 'location_dest': 'set default', 'lot': 'set default', 'package': 'set default', 'use_date': 'set default', 'expiration_date': 'set default', 'package_type': 'set default', 'pack_date': 'set default'}selection_add=[('quantity', 'Quantity'), ('location', 'Location'), ('location_dest', 'Destination location'), ('lot', 'Lot number'), ('package', 'Package'), ('use_date', 'Best before Date'), ('expiration_date', 'Expiration Date'), ('package_type', 'Package Type'), ('pack_date', 'Pack Date')]
No public methods.
New fields (0)
No new fields.
Public methods (1)-
session_info(self)
Loading…
Loading…
Loading…
Loading…
Loading…