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-
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds two ready-made identification number categories to Odoo partners: GLN (Global Location Number) and GCP (GS1 Company Prefix). When users enter these numbers on a contact, Odoo checks the format and prevents duplicates.
This module builds on the Partner Identification Numbers feature. It does not add new screens; instead it creates two number categories that become available wherever partner identification numbers are managed.
- GLN Identification Number: a number entered in this category is checked as a GS1/EAN identifier. If the value is not a valid EAN/GS1 number (wrong length, wrong format or wrong check digit), Odoo refuses it. Valid numbers are also checked against existing GLN numbers so the same one cannot be used twice.
- GCP Identification Number: a company prefix must be between 1 and 12 digits long. Anything shorter or longer is rejected, and duplicates of an existing GCP are blocked.
The validation runs automatically when a user saves an identification number on a partner, using the standard validation mechanism of res.partner.id_category. The module extends that model with two validation methods and loads the two categories as data, so they are present as soon as the module is installed.
It relies on the external Python library python-stdnum for the EAN/GS1 checks. No menus, reports, emails or scheduled actions are added by this module.
Depends on
Required by other modules
Models and fields (1)
- res.partner.id_category · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/partner-contact.
terminal Installation and usage
OCA documentation · Odoo 19.0Installation
Source · Odoo 19.0This module depends on 'stdnum' python module
No verified information in OCA: Configuration, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.