TIP: You can type at any time to perform a new search.
Partner language according country
partner_country_lang · OCA/partner-contact
- Repository
- OCA/partner-contact · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Customer Relationship Management
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/partner-contact
- Last tracking update
- 2026-08-07 09:06:26
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Weblate, OCA-git-bot, oca-ci, Wesley Oliveira
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module adds the "language" field to country form to auto-define that language when defining the country in a partner.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_country_form |
res.country.form | res.country | form | Inherits base.view_country_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (1)
-
langSelectionhelp="This country partners' language will be set to this value by default"string='Enforce language' args: _lang_get
No public methods.
New fields (1)
-
langSelectioncompute='_compute_lang'readonly=Falsestore=True
-
create(self, vals_list)@api.model_create_multiAdd lang if the partner is created with a country through code and no language is specified.
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 247 days ago
- Last activity
- 79 days ago
- Repository
- OCA/partner-contact
- Pull request
- [16.0][MIG] partner_country_lang: Migration to 16.0. (#2240)