Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
odoo/odoo:
- web
- uom
Python dependencies
None
System dependencies
None
Required by
point_of_sale, stock

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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_fnc1 Char
    default='(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_nomenclature Boolean
    help='This Nomenclature use the GS1 specification, only GS1-128 encoding rules is accepted is this kind of nomenclature.' string='Is GS1 Nomenclature'
Public methods (4)
  • gs1_date_to_date(self, gs1_date)
    @api.model
    Converts 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_id Many2one → uom.uom
    args: 'uom.uom'
  • encoding Selection
    default=_default_encoding ondelete={'gs1-128': 'set default'} selection_add=[('gs1-128', 'GS1-128')]
  • gs1_content_type Selection
    help="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_usage Boolean
    help='If True, use the last digit of AI to determine where the first decimal is' args: 'Decimal'
  • is_gs1_nomenclature Boolean
    related='barcode_nomenclature_id.is_gs1_nomenclature'
  • type Selection
    ondelete={'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')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • session_info(self)

Loading…

Loading…

Loading…

Loading…

Loading…