OdooWiki OCA HUB

Organisatie-identificatienummer (OIN)

l10n_nl_oin folder_open OCA/l10n-netherlands open_in_new
Dutch Localization License: AGPL-3

This module validates the Dutch Organisatie-identificatienummer (OIN) field on partner forms.

The field is visible when the field company_type is set to Company and when the Country is The Netherlands.

A double check on the OIN is done when inserting/modifying its value:

  • validation of the OIN (check whether the format is correct);
  • check if another partner with the same OIN already exists.

In both cases, a non-blocking alert is shown.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a Dutch OIN (Organisatie-identificatienummer) field to partner/company forms, warning users when the number is not 20 digits or when another partner already uses the same OIN.

This module extends the partner form with a new field for the Dutch Organisatie-identificatienummer (OIN), the identification number used by Dutch organisations.

When a user types or changes the OIN on a partner, Odoo immediately checks two things and shows a non-blocking warning popup if something looks wrong:

  • Format check: the OIN must be exactly 20 characters long and contain only digits. Otherwise a warning titled "Warning!" says the entered OIN is not valid.
  • Duplicate check: Odoo searches for another partner with the same OIN and a different name. If one is found, a warning says that another partner already has the same OIN, showing that partner's name.

If the partner is linked to a company, the duplicate search is limited to that same company, so the same OIN can exist in different companies without triggering the warning.

The field is stored on res.partner and is not copied when a partner record is duplicated. The warnings are advisory only: they do not prevent saving the partner.

The module depends on the Dutch localization (l10n_nl) and adds no new menus or screens of its own; the new field and its checks appear directly on the standard partner form.

Depends on

l10n_nl

Required by other modules

Models and fields (1)
  • res.partner · extends an existing modell10n_nl_oin

Text generated by AI (DeepSeek) from reading the Odoo 16.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-netherlands.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Open a form of a contact: flag Company must be checked (flag "Individual" must be unchecked)
  • Enter the OIN number

No verified information in OCA: Installation, Configuration.

info

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.