French Departments (Départements)
l10n_fr_department · OCA/l10n-france
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 13 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module creates a new model res_country_department, sub division of the res_country_state and populate it with all the french departments, but only the french departments of mainland. If you need the overseas departments, please install the module l10n_fr_department_oversea.
It also adds a computed many2one country_department_id field on the res_partner object.
Dependencies
- Odoo dependencies
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- l10n_fr_department_oversea, l10n_fr_intrastat_product
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_country_department_form |
res.country.department.form | res.country.department | form | New |
view_country_department_search |
res.country.department.search | res.country.department | search | New |
view_country_department_tree |
res.country.department.tree | res.country.department | list | New |
view_partner_form |
l10n_fr_department.partner.address | res.partner | form | Inherits base.view_partner_form |
view_partner_tree |
l10n_fr_department.partner.tree | res.partner | tree | Inherits base.view_partner_tree |
view_res_partner_filter |
l10n_fr_department.partner.search | res.partner | search | Inherits base.view_res_partner_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
codeCharhelp='The department code (ISO 3166-2 codification)'required=Truesize=3string='Department Code' -
country_idMany2one → res.countryrelated='state_id.country_id'store=True args: 'res.country' -
nameCharrequired=Truesize=128string='Department Name' -
state_idMany2one → res.country.staterequired=True args: 'res.country.state'
No public methods.
-
department_idsOne2many → res.country.departmenthelp='Departments related to this state'string='Departments' args: 'res.country.department', 'state_id'
No public methods.
-
country_department_idMany2one → res.country.departmentcompute='_compute_country_department'store=Truestring='Country Department' args: 'res.country.department'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…