TIP: You can type at any time to perform a new search.
Improved SIRET/SIREN support
l10n_fr_siret · OCA/l10n-france
- Repository
- OCA/l10n-france · module folder · Try on Runboat
- Module version
- Category
- French Localization
- Folder size
- 0.25 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-france
- Last tracking update
- 2026-08-19 11:39:12
- Authors
- Akretion, Odoo Community Association (OCA), Numérigraphe
- Maintainers
- Akretion, Odoo Community Association (OCA), Numérigraphe
- Committers
- Alexis de Lattre, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- python-stdnum
- System dependencies
- None
- Required by
- l10n_fr_das2
- Description
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. 
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form |
res.partner.form.same_siren_banner | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
company_registryCharinverse='_inverse_fr_company_registry'store=True -
is_france_countryBooleancompute='_compute_is_france_country' -
same_siren_partner_idsMany2many → res.partnercompute='_compute_same_siren_partner_ids'string='Partners with same SIREN' args: 'res.partner'
-
action_open_business_doc(self)Method called when you click on the link in the duplicate warning banner -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…