Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 09:06:26
Authors
Odoo Community Association (OCA), Acsone S.A.
Maintainers
Odoo Community Association (OCA), Acsone S.A.
Committers
Iván Todorovich, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
python-stdnum
System dependencies
None
Required by
None
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-

Code Analysis

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…