Skip to content

Commit bdaa2d6

Browse files
[MIG] crm_lead_to_task: Migration to 18.0
1 parent c931606 commit bdaa2d6

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

crm_lead_to_task/README.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Lead to Task
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github
20-
:target: https://github.com/OCA/crm/tree/17.0/crm_lead_to_task
20+
:target: https://github.com/OCA/crm/tree/18.0/crm_lead_to_task
2121
:alt: OCA/crm
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/crm-17-0/crm-17-0-crm_lead_to_task
23+
:target: https://translation.odoo-community.org/projects/crm-18-0/crm-18-0-crm_lead_to_task
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -63,7 +63,7 @@ Bug Tracker
6363
Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/issues>`_.
6464
In case of trouble, please check there if your issue has already been reported.
6565
If you spotted it first, help us to smash it by providing a detailed and welcomed
66-
`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**>`_.
66+
`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**>`_.
6767

6868
Do not contact contributors directly about support or help with technical issues.
6969

@@ -79,12 +79,12 @@ Authors
7979
Contributors
8080
------------
8181

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

84-
- Pedro M. Baeza
85-
- Carolina Fernandez
84+
- Pedro M. Baeza
85+
- Carolina Fernandez
8686

87-
- Ruchir Shukla <[email protected]>
87+
- Ruchir Shukla <[email protected]>
8888

8989
Maintainers
9090
-----------
@@ -99,6 +99,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9999
mission is to support the collaborative development of Odoo features and
100100
promote its widespread use.
101101

102-
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/17.0/crm_lead_to_task>`_ project on GitHub.
102+
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/18.0/crm_lead_to_task>`_ project on GitHub.
103103

104104
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

crm_lead_to_task/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "Odoo S.A., Odoo Community Association (OCA), Tecnativa",
1212
"website": "https://github.com/OCA/crm",
1313
"depends": ["crm", "project"],
14-
"version": "17.0.1.1.0",
14+
"version": "18.0.1.1.0",
1515
"license": "LGPL-3",
1616
"installable": True,
1717
"data": [

crm_lead_to_task/models/crm_lead.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def action_view_tasks(self):
2020
return {
2121
"type": "ir.actions.act_window",
2222
"res_model": "project.task",
23-
"view_mode": "tree,form",
23+
"view_mode": "list,form",
2424
"domain": [("lead_id", "=", self.id)],
2525
"context": {"default_search_lead_id": self.id},
2626
"name": _("Tasks from crm lead %s") % self.name,

crm_lead_to_task/static/description/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Lead to Task</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:54e7ad125955c7ea6e6bba39ebd6639f0e39d8176120fe43a8f4d3c5ecb73fbf
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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>
372+
<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/18.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-18-0/crm-18-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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module allows to convert leads/opportunities to tasks.</p>
374374
<p><strong>DISCLAIMER:</strong> This module is a forward-port of a module from Odoo S.A.
375375
and as such, it is not included in the OCA CLA. That means we do not
@@ -413,7 +413,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
413413
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/crm/issues">GitHub Issues</a>.
414414
In case of trouble, please check there if your issue has already been reported.
415415
If you spotted it first, help us to smash it by providing a detailed and welcomed
416-
<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>
416+
<a class="reference external" href="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**">feedback</a>.</p>
417417
<p>Do not contact contributors directly about support or help with technical issues.</p>
418418
</div>
419419
<div class="section" id="credits">
@@ -445,7 +445,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
445445
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
446446
mission is to support the collaborative development of Odoo features and
447447
promote its widespread use.</p>
448-
<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>
448+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/18.0/crm_lead_to_task">OCA/crm</a> project on GitHub.</p>
449449
<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>
450450
</div>
451451
</div>

crm_lead_to_task/tests/test_crm_lead_task.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_action_view_tasks(self):
4343
expected_domain = [("lead_id", "=", self.lead.id)]
4444
self.assertEqual(action["type"], "ir.actions.act_window")
4545
self.assertEqual(action["res_model"], "project.task")
46-
self.assertEqual(action["view_mode"], "tree,form")
46+
self.assertEqual(action["view_mode"], "list,form")
4747
self.assertEqual(action["domain"], expected_domain)
4848
self.assertEqual(action["context"]["default_search_lead_id"], self.lead.id)
4949
self.assertEqual(action["name"], _("Tasks from crm lead %s") % self.lead.name)

0 commit comments

Comments
 (0)