Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] partner_contact_lang: Migration to 14.0 #992

Merged
merged 17 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
99 changes: 99 additions & 0 deletions partner_contact_lang/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
===========================
Manage language in contacts
===========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/licence-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/14.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-14-0/partner-contact-14-0-partner_contact_lang
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/14.0
:alt: Try me on Runbot

|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:

#. 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.

**Table of contents**

.. contents::
:local:

Usage
=====

#. Go to any company partner has contacts.
#. 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_contact_lang%0Aversion:%2014.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 <pedro.gonzalez@pesol.es>

* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>

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/14.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 <pedro.baeza@tecnativa.com>
# Copyright 2017 Tecnativa - Vicent Cubells <vicent.cubells@tecnativa.com>
# Copyright 2020 Pesol - Pedro Evaristo Gonzalez Sanchez <pedro.gonzalez@pesol.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Manage language in contacts",
"version": "14.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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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"
32 changes: 32 additions & 0 deletions partner_contact_lang/i18n/de.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 <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 2017\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"

#. 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"
Loading