Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f2574fb
partner_contact_lang: Manage language in contacts (#302)
pedrobaeza Nov 24, 2016
79e35b7
[MIG] partner_contact_lang: Migration to 9.0
pedrobaeza Dec 6, 2016
5f5782c
[MIG] partner_contact_lang: Migration to 10.0
cubells Sep 12, 2017
9a7ac52
[IMP] partner_contact_lang: black, isort
pegonzalezsredcor Apr 5, 2020
2f903f6
[MIG] 13.0 partner_contact_lang
pegonzalezsredcor Apr 5, 2020
b39f05c
[IMP] partner_contact_lang: Change language when assigning parent if …
pedrobaeza Jul 1, 2020
e8d4d38
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
1e794b9
[MIG] partner_contact_lang: Migration to 14.0
newtratip Oct 15, 2020
67a17e5
[IMP] update dotfiles [ci skip]
OCA-git-bot Nov 1, 2020
94cfffc
[MIG] partner_contact_lang: Migration to 15.0
pegonzalezspesol Dec 9, 2021
c1dfbae
[MIG] partner_contact_lang: Migration to 16.0
pegonzalezspesol Oct 10, 2022
b7ddf74
Translated using Weblate (German)
marylla Nov 4, 2022
7d4db3c
Translated using Weblate (French)
PierrickBrun Nov 29, 2022
7d1657e
Translated using Weblate (Croatian)
badbole Jan 3, 2023
041c9c0
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
65afd9a
Translated using Weblate (Italian)
mymage Dec 26, 2023
d14c17f
[IMP] partner_contact_lang: pre-commit auto fixes
Jun 3, 2025
329dbbb
[MIG] partner_contact_lang: Migration to 17.0
Jun 3, 2025
cecb705
[MIG] partner_contact_lang: Migration to 18.0
Jun 4, 2025
e50dcab
Translated using Weblate (Slovenian)
sysadminmatmoz Feb 1, 2026
a3f6f6a
[MIG] partner_contact_lang: Migration to 19.0
Andrii9090-tecnativa Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions partner_contact_lang/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===========================
Manage language in contacts
===========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b2b158b0dfc19664cd1e64dc80c089e60d47faace24a89709b671c56aafcbe3f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/19.0/partner_contact_lang
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-19-0/partner-contact-19-0-partner_contact_lang
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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:

1. Put the language of the parent company when the contact doesn't have
a language and this parent company is assigned.
2. When the company changes the language, it fills with the same
language all the contacts that don't have any.
3. Show the language in the inner narrowed Contact form and set the new
conctact with a different language if needed.
4. Search and also group contacts by their language.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Go to any company partner has contacts.
2. Click on any contact and you will be able to edit the language.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_contact_lang%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Javier Iniesta
- Vicent Cubells
- David Vidal
- Cristina Martín
- Pedro Evaristo Gonzalez Sanchez <[email protected]>

- Tharathip Chaweewongphan <[email protected]>
- `APSL-Nagarro <https://apsl.tech>`__:

- Antoni Marroig <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/19.0/partner_contact_lang>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions partner_contact_lang/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
16 changes: 16 additions & 0 deletions partner_contact_lang/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2016 Tecnativa - Pedro M. Baeza <[email protected]>
# Copyright 2017 Tecnativa - Vicent Cubells <[email protected]>
# Copyright 2020 Pesol - Pedro Evaristo Gonzalez Sanchez <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Manage language in contacts",
"version": "19.0.1.0.0",
"category": "Sales",
"license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"depends": ["base"],
"data": ["views/res_partner_view.xml"],
"installable": True,
}
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
33 changes: 33 additions & 0 deletions partner_contact_lang/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "الشريك"
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Партньор"
33 changes: 33 additions & 0 deletions partner_contact_lang/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Empresa"
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Společník"
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/da.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2017-01-25 03:41+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
33 changes: 33 additions & 0 deletions partner_contact_lang/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_lang
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-25 03:41+0000\n"
"PO-Revision-Date: 2022-11-04 14:44+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: partner_contact_lang
#: model:ir.model,name:partner_contact_lang.model_res_partner
msgid "Contact"
msgstr "Kontakt"

#. module: partner_contact_lang
#: model_terms:ir.ui.view,arch_db:partner_contact_lang.view_res_partner_filter
msgid "Language"
msgstr "Sprache"

#~ msgid "Partner"
#~ msgstr "Partner"
Loading
Loading