TIP: You can type at any time to perform a new search.
French Departments (Départements)
l10n_fr_department · OCA/l10n-france
- Repository
- OCA/l10n-france · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- French Localization
- Folder size
- 0.29 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-france
- Last tracking update
- 2026-08-07 09:06:34
- Authors
- Akretion, Odoo Community Association (OCA), GRAP, Nicolas JEUDY
- Maintainers
- Akretion, Odoo Community Association (OCA), GRAP, Nicolas JEUDY
- Committers
- Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- l10n_fr_department_oversea
- 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.
Code Analysis ⓘ
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)
New fields (4)
-
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.
New fields (1)
-
department_idsOne2many → res.country.departmenthelp='Departments related to this state'string='Departments' args: 'res.country.department', 'state_id'
No public methods.
New fields (1)
-
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…