Skip to content

Commit 40bd087

Browse files
[MIG] marketing_crm_partner: Migration to 15.0
1 parent fde5689 commit 40bd087

File tree

5 files changed

+25
-20
lines changed

5 files changed

+25
-20
lines changed

marketing_crm_partner/README.rst

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
Tracking Fields in Partners
33
===========================
44

5-
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
!! This file is generated by oca-gen-addon-readme !!
78
!! changes will be overwritten. !!
89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:f0d00f3ee135073534ede125b8bc7ae45a1b6dac29bf64a6a80158a699d11d77
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
912
1013
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1114
:target: https://odoo-community.org/page/development-status
@@ -14,16 +17,16 @@ Tracking Fields in Partners
1417
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1518
:alt: License: AGPL-3
1619
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github
17-
:target: https://github.com/OCA/crm/tree/14.0/marketing_crm_partner
20+
:target: https://github.com/OCA/crm/tree/15.0/marketing_crm_partner
1821
:alt: OCA/crm
1922
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/crm-14-0/crm-14-0-marketing_crm_partner
23+
:target: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-marketing_crm_partner
2124
:alt: Translate me on Weblate
22-
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/111/14.0
24-
:alt: Try me on Runbot
25+
.. |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=15.0
27+
:alt: Try me on Runboat
2528

26-
|badge1| |badge2| |badge3| |badge4| |badge5|
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
2730

2831
This module extends the functionality of the CRM to support having the tracking
2932
fields available in the partner and copy them there automatically when the
@@ -41,7 +44,7 @@ To use this module, you need to:
4144

4245
#. Go to **CRM > Leads > Create**.
4346
#. Fill the required fields.
44-
#. Go to **Extra Info > Marketing** and fill those 3 fields.
47+
#. Go to **Extra Info > Tracking** and fill those 3 fields.
4548
#. **Save**.
4649
#. **Convert to Opportunity**.
4750
#. Choose the option **Customer > Create a new customer**.
@@ -55,8 +58,8 @@ Bug Tracker
5558

5659
Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/issues>`_.
5760
In case of trouble, please check there if your issue has already been reported.
58-
If you spotted it first, help us smashing it by providing a detailed and welcomed
59-
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20marketing_crm_partner%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
61+
If you spotted it first, help us to smash it by providing a detailed and welcomed
62+
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20marketing_crm_partner%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6063

6164
Do not contact contributors directly about support or help with technical issues.
6265

@@ -93,6 +96,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9396
mission is to support the collaborative development of Odoo features and
9497
promote its widespread use.
9598

96-
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/14.0/marketing_crm_partner>`_ project on GitHub.
99+
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/15.0/marketing_crm_partner>`_ project on GitHub.
97100

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

marketing_crm_partner/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"name": "Tracking Fields in Partners",
88
"summary": "Copy tracking fields from leads to partners",
9-
"version": "14.0.1.0.1",
9+
"version": "15.0.1.0.0",
1010
"category": "Marketing",
1111
"website": "https://github.com/OCA/crm",
1212
"author": "Tecnativa, Odoo Community Association (OCA)",

marketing_crm_partner/readme/USAGE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ To use this module, you need to:
22

33
#. Go to **CRM > Leads > Create**.
44
#. Fill the required fields.
5-
#. Go to **Extra Info > Marketing** and fill those 3 fields.
5+
#. Go to **Extra Info > Tracking** and fill those 3 fields.
66
#. **Save**.
77
#. **Convert to Opportunity**.
88
#. Choose the option **Customer > Create a new customer**.

marketing_crm_partner/static/description/index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
77
<title>Tracking Fields in Partners</title>
88
<style type="text/css">
99

@@ -366,8 +366,10 @@ <h1 class="title">Tracking Fields in Partners</h1>
366366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370+
!! source digest: sha256:f0d00f3ee135073534ede125b8bc7ae45a1b6dac29bf64a6a80158a699d11d77
369371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/crm/tree/14.0/marketing_crm_partner"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/crm-14-0/crm-14-0-marketing_crm_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/111/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/crm/tree/15.0/marketing_crm_partner"><img alt="OCA/crm" src="https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-marketing_crm_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runboat.odoo-community.org/builds?repo=OCA/crm&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371373
<p>This module extends the functionality of the CRM to support having the tracking
372374
fields available in the partner and copy them there automatically when the
373375
partner is created from a lead/opportunity.</p>
@@ -390,7 +392,7 @@ <h1><a class="toc-backref" href="#id1">Usage</a></h1>
390392
<ol class="arabic simple">
391393
<li>Go to <strong>CRM &gt; Leads &gt; Create</strong>.</li>
392394
<li>Fill the required fields.</li>
393-
<li>Go to <strong>Extra Info &gt; Marketing</strong> and fill those 3 fields.</li>
395+
<li>Go to <strong>Extra Info &gt; Tracking</strong> and fill those 3 fields.</li>
394396
<li><strong>Save</strong>.</li>
395397
<li><strong>Convert to Opportunity</strong>.</li>
396398
<li>Choose the option <strong>Customer &gt; Create a new customer</strong>.</li>
@@ -404,8 +406,8 @@ <h1><a class="toc-backref" href="#id1">Usage</a></h1>
404406
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
405407
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/crm/issues">GitHub Issues</a>.
406408
In case of trouble, please check there if your issue has already been reported.
407-
If you spotted it first, help us smashing it by providing a detailed and welcomed
408-
<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20marketing_crm_partner%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
409+
If you spotted it first, help us to smash it by providing a detailed and welcomed
410+
<a class="reference external" href="https://github.com/OCA/crm/issues/new?body=module:%20marketing_crm_partner%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
409411
<p>Do not contact contributors directly about support or help with technical issues.</p>
410412
</div>
411413
<div class="section" id="credits">
@@ -437,7 +439,7 @@ <h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
437439
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
438440
mission is to support the collaborative development of Odoo features and
439441
promote its widespread use.</p>
440-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/14.0/marketing_crm_partner">OCA/crm</a> project on GitHub.</p>
442+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/crm/tree/15.0/marketing_crm_partner">OCA/crm</a> project on GitHub.</p>
441443
<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>
442444
</div>
443445
</div>

marketing_crm_partner/tests/test_lead.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def setUp(self):
2222

2323
def test_transfered_values(self):
2424
"""Fields get transfered when creating partner."""
25-
self.lead.handle_partner_assignment()
25+
self.lead._handle_partner_assignment()
2626
if self.lead.partner_id:
2727
for _key, field, _cookie in self.env["utm.mixin"].tracking_fields():
2828
self.assertEqual(self.lead[field], self.lead.partner_id[field])

0 commit comments

Comments
 (0)