summaryrefslogtreecommitdiff
path: root/addons/crm/tests/__init__.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-01-06 16:32:24 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-10 16:06:44 +0000
commitff6b35f759c64e49db787775e5df150ce0f53f9a (patch)
treec721d7327a7b58c7c979fc597f4f6ff7126a44e0 /addons/crm/tests/__init__.py
parenta04b209ce611d0c1212f2093d0017f5dc955544f (diff)
[IMP] crm: clean and improve tests for lead2opportunity converters
PURPOSE As crm will soon evolve (onchange -> compute, code improvements, addition of new features) cleaning and improving tests is necessary to help avoid issues. SPECIFICATIONS In this commit we add tests for the lead 2 opportunity converters. Indeed it is strange that such a critical wizard has so few tests. Notably the use of single-lead / multi-lead mode is more tested, allowing to see that code is somewhat oldish. LINKS Side effect of Task ID 2056759 (remove crm.partner.binding mixin) Side effect of Task ID 2088565 (crm onchange -> compute) Community PR #43127 Enterprise PR odoo/enterprise#7656
Diffstat (limited to 'addons/crm/tests/__init__.py')
-rw-r--r--addons/crm/tests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/crm/tests/__init__.py b/addons/crm/tests/__init__.py
index 2897d0b277f..dfcb9be62a3 100644
--- a/addons/crm/tests/__init__.py
+++ b/addons/crm/tests/__init__.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
from . import test_crm_lead
-from . import test_new_lead_notification
-from . import test_lead2opportunity
+from . import test_crm_lead_notification
+from . import test_crm_lead_convert
from . import test_crm_activity
from . import test_crm_ui
from . import test_crm_pls