Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 8.0

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

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 1 model 0 views 0 HTTP endpoints

Description

This addon extends "Partner Identification Numbers" to provide number categories for GLN and GCP registration.

A GLN (Global Location Number) is a GS1 identification key used to uniquely identify legal entities, functional entities, and physical locations involved in business processes. A GCP (GS1 Company Prefix) is the company-specific prefix issued by GS1 that is used as a building block to create GS1 identification keys, including GLNs.

In this module, GLN values are validated as GS1/EAN-based identifiers, while GCP values are stored as company prefixes with a length between 1 and 12 digits.

See:

  • https://www.gs1.org/standards/id-keys/gln/physical-location
  • https://www.gs1.org/standards/id-keys/company-prefix
  • https://support.gs1.org/support/solutions/articles/43000734241-how-do-i-use-a-global-location-number-to-identify-a-physical-location-

Dependencies

Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
python-stdnum
System dependencies
None
Required by
None

Code analysis

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

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (0)

No new fields.

Public methods (2)
  • validate_res_partner_gcp(self, id_number)
  • validate_res_partner_gln(self, id_number)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…