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:
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 IDNameModelTypeStatus
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)
  • lang Selection
    help="This country partners' language will be set to this value by default" string='Enforce language' args: _lang_get
Public methods (0)

No public methods.

New fields (1)
  • lang Selection
    compute='_compute_lang' readonly=False store=True
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Add 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)