Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 18 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 11 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
1 model
2 views
0 HTTP endpoints
Description
Odoo by default propagate language field to the created contacts from their form, but it doesn't allow to change it once created.
This module fills this gap, and also provides other facilities for the contact language management:
- Put the language of the parent company when the contact doesn't have a language and this parent company is assigned.
- When the company changes the language, it fills with the same language all the contacts that don't have any.
- Show the language in the inner narrowed Contact form and set the new conctact with a different language if needed.
- Search and also group contacts by their language.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_form |
view.partner.address.form.extension | res.partner | form | Inherits base.view_partner_form |
view_res_partner_filter |
res.partner.filter.extension | res.partner | Inherits base.view_res_partner_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (2)-
onchange_parent_id(self)@api.onchange('parent_id')Change language if the parent company changes and there's no language defined yet. A special case is made for virtual records, where default lang value is assigned at startup, so we always overwrite language in that case. -
write(self, vals)Propagate a language change in the partner to the child contacts.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…