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_to_task: Migration to 18.0 #611

Open
wants to merge 25 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2377bc7
[ADD] crm_project: From Odoo v12 CE
Feb 7, 2021
c6a1780
[IMP] crm_project: black, isort, prettier
pedrobaeza Feb 7, 2021
bf76582
[MIG+IMP] crm_project: Migration to 13.0
pedrobaeza Feb 7, 2021
4890b43
[IMP] crm_project: black, isort, prettier
victoralmau Oct 8, 2021
cfb742c
[MIG] crm_project: Migration to 14.0
victoralmau Oct 8, 2021
4b0240d
[IMP] crm_project : black, isort, prettier
bizzappdev Feb 10, 2022
8bc443a
[MIG]crm_project: Migrate crm_project to v15.
bizzappdev Feb 10, 2022
b75e5c7
[IMP] crm_project: Copy email_cc from lead to task.
victoralmau Oct 17, 2022
e83cfed
[MIG] crm_project: Migration to 16.0
carolinafernandez-tecnativa Sep 25, 2023
4f60198
[IMP] crm_lead_to_task: pre-commit auto fixes
carolinafernandez-tecnativa Jul 19, 2024
0548946
[MIG] crm_lead_to_task: Migration to 17.0
carolinafernandez-tecnativa Jul 19, 2024
6f3e838
[UPD] Update crm_lead_to_task.pot
Jul 30, 2024
004543a
[BOT] post-merge updates
OCA-git-bot Jul 30, 2024
100314e
Update translation files
weblate Jul 30, 2024
77b0be2
[ADD] crm_lead_to_task: Add relationship and smart buttons
santiagordz Aug 1, 2024
e2a2098
[FIX] crm_lead_to_task: pre-commit
santiagordz Aug 1, 2024
16d433a
[FIX] crm_to_task: Fix lead_id comodel
santiagordz Aug 5, 2024
5b6fac5
[ADD] crm_lead_to_task: Add tests
santiagordz Aug 5, 2024
7bfd0f6
[UPD] Update crm_lead_to_task.pot
Aug 7, 2024
b3383a2
[BOT] post-merge updates
OCA-git-bot Aug 7, 2024
f3f5f98
Update translation files
weblate Aug 7, 2024
d0ac86c
Translated using Weblate (Italian)
mymage Aug 12, 2024
4a39031
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Sep 3, 2024
720366e
[IMP] crm_lead_to_task: pre-commit auto fixes
HeliconiaSolutions Nov 27, 2024
17896b5
[MIG] crm_lead_to_task: Migration to 18.0
HeliconiaSolutions Nov 27, 2024
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_to_task/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
============
Lead to Task
============

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github
:target: https://github.com/OCA/crm/tree/18.0/crm_lead_to_task
:alt: OCA/crm
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/crm-18-0/crm-18-0-crm_lead_to_task
: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/crm&target_branch=18.0
:alt: Try me on Runboat

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

This module allows to convert leads/opportunities to tasks.

**DISCLAIMER:** This module is a forward-port of a module from Odoo S.A.
and as such, it is not included in the OCA CLA. That means we do not
have a copy of the copyright on it like all other OCA modules.

**Table of contents**

.. contents::
:local:

Configuration
=============

1. You need to have at least "Project User" and "Salesman" permissions
to be able to convert leads to tasks.

Usage
=====

1. Go to *CRM > Sales > My pipeline*.
2. Open one of the existing leads or create one.
3. Click on the button "Convert to Task".
4. A popup will appear asking you for a possible project for the task.
5. Click on "Create Task" button.
6. You will be redirected to the recently created task, that contains
all the information from the lead, including attachments and
messages.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_to_task%0Aversion:%2018.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
-------

* Odoo S.A.
* Tecnativa

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

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

- Pedro M. Baeza
- Carolina Fernandez

- Ruchir Shukla <[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/18.0/crm_lead_to_task>`_ 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_to_task/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License LGPL-3 - See https://www.gnu.org/licenses/lgpl-3.0.html
from . import models
from . import wizard
23 changes: 23 additions & 0 deletions crm_lead_to_task/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2010-2020 Odoo S. A.
# Copyright 2021 Tecnativa - Pedro M. Baeza
# Copyright 2023-2024 Tecnativa - Carolina Fernandez
# License LGPL-3 - See https://www.gnu.org/licenses/lgpl-3.0.html
{
"name": "Lead to Task",
"summary": "Create Tasks from Leads/Opportunities",
"sequence": "19",
"category": "Project",
"complexity": "easy",
"author": "Odoo S.A., Odoo Community Association (OCA), Tecnativa",
"website": "https://github.com/OCA/crm",
"depends": ["crm", "project"],
"version": "18.0.1.1.0",
"license": "LGPL-3",
"installable": True,
"data": [
"security/ir.model.access.csv",
"wizard/crm_lead_convert2task_views.xml",
"views/crm_lead_views.xml",
"views/project_task_views.xml",
],
}
130 changes: 130 additions & 0 deletions crm_lead_to_task/i18n/af.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_project
#
# Translators:
# Martin Trigaux <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.saas~18\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-20 09:52+0000\n"
"PO-Revision-Date: 2017-09-20 09:52+0000\n"
"Last-Translator: Martin Trigaux <[email protected]>, 2017\n"
"Language-Team: Afrikaans (https://www.transifex.com/odoo/teams/41243/af/)\n"
"Language: af\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_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_view_form
msgid ""
"<span class=\"o_stat_text\" invisible=\"task_count &lt; 2\">Tasks</span>\n"
" <span class=\"o_stat_text\" invisible=\"task_count "
"&gt; 1\">Task</span>"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.view_task_form2
msgid "<span class=\"o_stat_text\">CRM Lead</span>"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
msgid "Cancel"
msgstr "Kanselleer"

#. module: crm_lead_to_task
#: model:ir.actions.act_window,name:crm_lead_to_task.crm_lead_convert2task_action
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_view_form
msgid "Convert to Task"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
msgid "Create Task"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__create_uid
msgid "Created by"
msgstr "Geskep deur"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__create_date
msgid "Created on"
msgstr "Geskep op"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__display_name
msgid "Display Name"
msgstr "Vertoningsnaam"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__id
msgid "ID"
msgstr "ID"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__write_uid
msgid "Last Updated by"
msgstr "Laas Opgedateer deur"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__write_date
msgid "Last Updated on"
msgstr "Laas Opgedateer op"

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__lead_id
#: model:ir.model.fields,field_description:crm_lead_to_task.field_project_task__lead_id
msgid "Lead"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model,name:crm_lead_to_task.model_crm_lead_convert2task
msgid "Lead convert to Task"
msgstr ""

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

#. module: crm_lead_to_task
#. odoo-python
#: code:addons/crm_lead_to_task/models/project_task.py:0
#: code:addons/crm_lead_to_task/tests/test_crm_lead_task.py:0
#, python-format
msgid "Lead: %s"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__project_id
msgid "Project"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model,name:crm_lead_to_task.model_project_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead__task_ids
msgid "Task"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead__task_count
msgid "Task Count"
msgstr ""

#. module: crm_lead_to_task
#. odoo-python
#: code:addons/crm_lead_to_task/models/crm_lead.py:0
#: code:addons/crm_lead_to_task/tests/test_crm_lead_task.py:0
#, python-format
msgid "Tasks from crm lead %s"
msgstr ""

#~ msgid "Last Modified on"
#~ msgstr "Laas Gewysig op"
127 changes: 127 additions & 0 deletions crm_lead_to_task/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_project
#
# Translators:
# Martin Trigaux <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.saas~18\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-20 09:52+0000\n"
"PO-Revision-Date: 2017-09-20 09:52+0000\n"
"Last-Translator: Martin Trigaux <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/odoo/teams/41243/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: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_view_form
msgid ""
"<span class=\"o_stat_text\" invisible=\"task_count &lt; 2\">Tasks</span>\n"
" <span class=\"o_stat_text\" invisible=\"task_count "
"&gt; 1\">Task</span>"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.view_task_form2
msgid "<span class=\"o_stat_text\">CRM Lead</span>"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
msgid "Cancel"
msgstr "መሰረዝ"

#. module: crm_lead_to_task
#: model:ir.actions.act_window,name:crm_lead_to_task.crm_lead_convert2task_action
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_view_form
msgid "Convert to Task"
msgstr ""

#. module: crm_lead_to_task
#: model_terms:ir.ui.view,arch_db:crm_lead_to_task.crm_lead_convert2task_view_form
msgid "Create Task"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__create_uid
msgid "Created by"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__create_date
msgid "Created on"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__display_name
msgid "Display Name"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__id
msgid "ID"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__write_uid
msgid "Last Updated by"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__write_date
msgid "Last Updated on"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__lead_id
#: model:ir.model.fields,field_description:crm_lead_to_task.field_project_task__lead_id
msgid "Lead"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model,name:crm_lead_to_task.model_crm_lead_convert2task
msgid "Lead convert to Task"
msgstr ""

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

#. module: crm_lead_to_task
#. odoo-python
#: code:addons/crm_lead_to_task/models/project_task.py:0
#: code:addons/crm_lead_to_task/tests/test_crm_lead_task.py:0
#, python-format
msgid "Lead: %s"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead_convert2task__project_id
msgid "Project"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model,name:crm_lead_to_task.model_project_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead__task_ids
msgid "Task"
msgstr ""

#. module: crm_lead_to_task
#: model:ir.model.fields,field_description:crm_lead_to_task.field_crm_lead__task_count
msgid "Task Count"
msgstr ""

#. module: crm_lead_to_task
#. odoo-python
#: code:addons/crm_lead_to_task/models/crm_lead.py:0
#: code:addons/crm_lead_to_task/tests/test_crm_lead_task.py:0
#, python-format
msgid "Tasks from crm lead %s"
msgstr ""
Loading