l10n_fr_siret
Provide full management of French SIRET/SIREN/NIC identifiers with validation, auto-computation, and duplicate detection for partners and companies.
Key Features
- res.partner: Validates SIREN, NIC, and combined SIRET numbers with length and checksum rules before saving partners.
- res.partner: Adds SIREN and NIC fields with automatic SIRET computation and inverse entry so users can input either format.
- res.partner: Supports multi-site companies by sharing the SIREN while allowing distinct NIC/SIRET values on child addresses.
- contacts: Shows a warning banner on partner forms when another partner has the same SIREN and lets users open the duplicate record.
- res.partner: Displays SIREN, NIC, and SIRET columns in partner list views for quick review.
- res.company: Stores editable SIREN and NIC values on companies via the linked partner while keeping the SIRET stored.
- post-init hook: Migrates existing SIRET values into cleaned SIREN/NIC fields on installation, dropping invalid identifiers.