Skip to content

Commit

Permalink
Merge PR OCA#441 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by StefanRijnhart
  • Loading branch information
OCA-git-bot committed Nov 9, 2022
2 parents 6470318 + 7a0b50e commit 50435d0
Show file tree
Hide file tree
Showing 31 changed files with 1,471 additions and 0 deletions.
103 changes: 103 additions & 0 deletions crm_lead_firstname/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
===============================
Firstname and Lastname in Leads
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fcrm-lightgray.png?logo=github
:target: https://github.com/OCA/crm/tree/14.0/crm_lead_firstname
:alt: OCA/crm
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/crm-14-0/crm-14-0-crm_lead_firstname
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/111/14.0
:alt: Try me on Runbot

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

This module extends the functionality of CRM leads to support split first and
last name fields for contacts and allow you to port that information to and
from partners.
Since leads are expected to create partners only when needed and after
information is correctly set up, in leads there is no inverse logic to
transform the old single name in the new split names automatically. The old
single name will simply be the firstname now.

**Table of contents**

.. contents::
:local:

Installation
============

To install this module, you need to:

* Install `OCA/partner-contact <https://github.com/OCA/partner-contact>`_ repo.

Usage
=====

To use this module, you need to:

* Go to *CRM > Leads > Leads > Create*.
* You have the new split fields *Firstname* and *Lastname*. Fill them.
* Press *Convert to Opportunity*.
* In *Related Customer* choose *Create a new customer*.
* Press *Create Opportunity*.
* In the new opportunity, go to *Followup* tab. There are the new fields too.
* If you go to the partner you just created, you will see that its first and
last names match those in the lead.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/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/crm/issues/new?body=module:%20crm_lead_firstname%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
~~~~~~~~~~~~

* Rafael Blasco
* Jairo Llopis
* Raf Ven <[email protected]>
* Nikos Tsirintanis <[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/crm <https://github.com/OCA/crm/tree/14.0/crm_lead_firstname>`_ 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 crm_lead_firstname/__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 crm_lead_firstname/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2016 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Firstname and Lastname in Leads",
"summary": "Specify split names for contacts in leads",
"version": "15.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/crm",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["crm", "partner_firstname"],
"data": ["views/crm_lead_view.xml"],
}
49 changes: 49 additions & 0 deletions crm_lead_firstname/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: crm (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-02 14:15+0000\n"
"PO-Revision-Date: 2016-03-10 18:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-crm-8-0/language/"
"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: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Contact Name"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_name
msgid "First name"
msgstr ""

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Firstname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_lastname
msgid "Last name"
msgstr ""

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Lastname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Следа/Възможност"
59 changes: 59 additions & 0 deletions crm_lead_firstname/i18n/crm_lead_firstname.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Contact Name"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__display_name
msgid "Display Name"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_name
msgid "First name"
msgstr ""

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Firstname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__id
msgid "ID"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead____last_update
msgid "Last Modified on"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_lastname
msgid "Last name"
msgstr ""

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Lastname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr ""
51 changes: 51 additions & 0 deletions crm_lead_firstname/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
# Translators:
# Rudolf Schnapka <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: crm (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-28 02:25+0000\n"
"PO-Revision-Date: 2019-06-28 13:42+0000\n"
"Last-Translator: Maria Sparenberg <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-crm-8-0/language/"
"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 3.6.1\n"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Contact Name"
msgstr "Ansprechpartner"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_name
msgid "First name"
msgstr "Vorname"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Firstname"
msgstr "Vorname"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_lastname
msgid "Last name"
msgstr "Nachname"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Lastname"
msgstr "Nachname"

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Lead/Chance"
49 changes: 49 additions & 0 deletions crm_lead_firstname/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-15 17:25+0000\n"
"PO-Revision-Date: 2016-02-15 18:27+0100\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 1.8.6\n"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Contact Name"
msgstr "Nombre del contacto"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_name
#, fuzzy
msgid "First name"
msgstr "Nombre de pila"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Firstname"
msgstr "Nombre de pila"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_lastname
msgid "Last name"
msgstr "Apellido"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Lastname"
msgstr "Apellido"

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Iniciativa/Oportunidad"
62 changes: 62 additions & 0 deletions crm_lead_firstname/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-06 20:44+0000\n"
"Last-Translator: Ignacio Buioli <[email protected]>\n"
"Language-Team: none\n"
"Language: es_AR\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.3.2\n"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Contact Name"
msgstr "Nombre del Contacto"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_name
msgid "First name"
msgstr "Primer nombre"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Firstname"
msgstr "Primer nombre"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__id
msgid "ID"
msgstr "ID"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: crm_lead_firstname
#: model:ir.model.fields,field_description:crm_lead_firstname.field_crm_lead__contact_lastname
msgid "Last name"
msgstr "Apellido"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_lead_view_form
msgid "Lastname"
msgstr "Apellido"

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Iniciativa/Oportunidad"
Loading

0 comments on commit 50435d0

Please sign in to comment.