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

[MIG] crm_lead_firstname: Migration to 13.0 #305

Merged
merged 15 commits into from
Mar 18, 2020
Merged
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
104 changes: 104 additions & 0 deletions crm_lead_firstname/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
===============================
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/12.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-12-0/crm-12-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/12.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.


**Table of contents**

.. contents::
:local:

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

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.

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:%2012.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 <raf.ven@dynapps.be>

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/12.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 (http://www.gnu.org/licenses/agpl.html).

from . import models
15 changes: 15 additions & 0 deletions crm_lead_firstname/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2016 Antiun Ingeniería S.L. - Jairo Llopis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Firstname and Lastname in Leads",
"summary": "Specify split names for contacts in leads",
"version": "13.0.1.0.0",
"category": "Customer Relationship Management",
"website": "http://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"],
}
52 changes: 52 additions & 0 deletions crm_lead_firstname/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
msgid "Lastname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Следа/Възможност"
48 changes: 48 additions & 0 deletions crm_lead_firstname/i18n/crm_lead_firstname.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
msgid "Lastname"
msgstr ""

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

54 changes: 54 additions & 0 deletions crm_lead_firstname/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_firstname
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 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 <maria.sparenberg@gmx.net>\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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
msgid "Lastname"
msgstr "Nachname"

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Lead/Chance"
53 changes: 53 additions & 0 deletions crm_lead_firstname/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# 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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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 "Firstname"
msgid "First name"
msgstr "Nombre de pila"

#. module: crm_lead_firstname
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
msgid "Lastname"
msgstr "Apellido"

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Iniciativa/Oportunidad"
52 changes: 52 additions & 0 deletions crm_lead_firstname/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 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-03-10 18:52+0000\n"
"PO-Revision-Date: 2016-03-10 18:53+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-crm-8-0/language/"
"fr/)\n"
"Language: fr\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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
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_case_form_view_leads
#: model_terms:ir.ui.view,arch_db:crm_lead_firstname.crm_case_form_view_oppor
msgid "Lastname"
msgstr ""

#. module: crm_lead_firstname
#: model:ir.model,name:crm_lead_firstname.model_crm_lead
msgid "Lead/Opportunity"
msgstr "Piste/Opportunité"
Loading