Skip to content

Commit

Permalink
[IMP] crm_lead_to_task: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinafernandez-tecnativa committed Jul 19, 2024
1 parent 565ca33 commit 6633797
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 54 deletions.
50 changes: 26 additions & 24 deletions crm_lead_to_task/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ Lead to Task
: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/16.0/crm_lead_to_task
:target: https://github.com/OCA/crm/tree/17.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-16-0/crm-16-0-crm_lead_to_task
:target: https://translation.odoo-community.org/projects/crm-17-0/crm-17-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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=17.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.
**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**

Expand All @@ -42,50 +42,52 @@ copyright on it like all other OCA modules.
Configuration
=============

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

Usage
=====

#. Go to *CRM > Sales > My pipeline*.
#. Open one of the existing leads or create one.
#. Click on the button "Convert to Task".
#. A popup will appear asking you for a possible project for the task.
#. Click on "Create Task" button.
#. You will be redirected to the recently created task, that contains all the
information from the lead, including attachments and messages.
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:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_to_task%0Aversion:%2017.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>`__:
- `Tecnativa <https://www.tecnativa.com>`__:

* Pedro M. Baeza
* Carolina Fernandez
* Ruchir Shukla <[email protected]>
- Pedro M. Baeza
- Carolina Fernandez

- Ruchir Shukla <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -97,6 +99,6 @@ 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/16.0/crm_lead_to_task>`_ project on GitHub.
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/17.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/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions crm_lead_to_task/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1. You need to have at least "Project User" and "Salesman" permissions
to be able to convert leads to tasks.
2 changes: 0 additions & 2 deletions crm_lead_to_task/readme/CONFIGURE.rst

This file was deleted.

4 changes: 4 additions & 0 deletions crm_lead_to_task/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [Tecnativa](https://www.tecnativa.com):
- Pedro M. Baeza
- Carolina Fernandez
- Ruchir Shukla \<<[email protected]>\>
5 changes: 0 additions & 5 deletions crm_lead_to_task/readme/CONTRIBUTORS.rst

This file was deleted.

5 changes: 5 additions & 0 deletions crm_lead_to_task/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
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.
5 changes: 0 additions & 5 deletions crm_lead_to_task/readme/DESCRIPTION.rst

This file was deleted.

8 changes: 8 additions & 0 deletions crm_lead_to_task/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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.
7 changes: 0 additions & 7 deletions crm_lead_to_task/readme/USAGE.rst

This file was deleted.

22 changes: 11 additions & 11 deletions crm_lead_to_task/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -369,11 +368,11 @@ <h1 class="title">Lead to Task</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:90e2f2ae46cf4941cc9cb155666711d71bbd7999ca652b2fe7a0cbb793463448
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/crm/tree/16.0/crm_lead_to_task"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_lead_to_task"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/crm&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/crm/tree/17.0/crm_lead_to_task"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/crm-17-0/crm-17-0-crm_lead_to_task"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/crm&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows to convert leads/opportunities to tasks.</p>
<p><strong>DISCLAIMER:</strong> 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.</p>
<p><strong>DISCLAIMER:</strong> 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.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -391,8 +390,8 @@ <h1 class="title">Lead to Task</h1>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ol class="arabic simple">
<li>You need to have at least “Project User” and “Salesman” permissions to be
able to convert leads to tasks.</li>
<li>You need to have at least “Project User” and “Salesman” permissions
to be able to convert leads to tasks.</li>
</ol>
</div>
<div class="section" id="usage">
Expand All @@ -403,16 +402,17 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<li>Click on the button “Convert to Task”.</li>
<li>A popup will appear asking you for a possible project for the task.</li>
<li>Click on “Create Task” button.</li>
<li>You will be redirected to the recently created task, that contains all the
information from the lead, including attachments and messages.</li>
<li>You will be redirected to the recently created task, that contains
all the information from the lead, including attachments and
messages.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/crm/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_to_task%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20crm_lead_to_task%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -442,7 +442,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/16.0/crm_lead_to_task">OCA/crm</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/17.0/crm_lead_to_task">OCA/crm</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down

0 comments on commit 6633797

Please sign in to comment.