The module l10n_fr from the official addons uses the field company_registry on partners as SIRET, but it doesn't verify its validity. This module l10n_fr_siret adds several features for French partners:
- the string of the field is updated from SIRET to SIREN or SIRET,
- the validity of the SIREN and/or SIRET is checked using its checksum,
- it checks the consistence between the VAT number and SIREN,
- it checks that parent and child partners have the same SIREN,
- it adds a warning banner on the partner form view if another partner has the same SIREN.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Validates French SIREN and SIRET numbers on partner records, warns about duplicate SIRENs, and keeps VAT numbers consistent with SIRENs.
This module improves how Odoo handles French business identifiers on partners. On the partner form, the field previously labelled as SIRET is now shown as "SIREN or SIRET" and accepts either a 9-digit SIREN or a 14-digit SIRET.
When you save a French partner, Odoo checks that the number contains only digits, has the right length, and passes the official checksum. It also verifies that a French VAT number ends with the same 9 digits as the SIREN, and that a child partner has the same SIREN as its parent. If any of these rules is broken, Odoo blocks the save with a clear error message.
A warning banner appears on the partner form when another partner already uses the same SIREN, with a clickable link to open that partner. The module also adds helper methods on companies and partners to retrieve the SIREN, SIRET and NIC (the last 5 digits of a SIRET).
When the module is installed, Odoo runs a one-time cleanup: it checks existing French company partners, removes invalid SIRET/SIREN values, or keeps the first 9 digits when they form a valid SIREN, and posts a note in the partner's chatter explaining the change. Changing a partner's parent company clears its company registry number.
Depends on
Required by other modules
Models and fields (2)
- res.company · extends an existing model
- res.partner · extends an existing modelcompany_registry, is_france_country, same_siren_partner_ids (Partners with same SIREN)
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: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/l10n-france.
terminal Installation and usage
OCA documentation · Odoo 19.0Installation
Source · Odoo 19.0It is recommended to install python-stdnum>=1.18 to benefit from a specific bugfix on SIRET validation.
Usage
Source · Odoo 19.0The last digits of the SIREN and NIC are control keys: Odoo will check their validity.
The warning banner is displayed on the partner form view if another partner:
- has the same SIREN,
- if the partner is attached to a specific company: is in the same company or is not attached to a specific company,
- if the partner is not attached to a specific company: is in any company or not attached to a specific company.
No verified information in OCA: Configuration.
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.