summaryrefslogtreecommitdiff
path: root/addons/website_crm/models/__init__.py
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-07-05 13:27:28 +0000
committerDavid Beguin <dbe@odoo.com>2019-08-19 06:33:37 +0000
commit498d2a80801b43619f8d3f343abf721de319137a (patch)
tree558afa5449f4a8e0f40ed84c1c0d2550dc511d75 /addons/website_crm/models/__init__.py
parent6bec0e4d29e6b33b74962b2893a7a405667ef58c (diff)
[IMP] website_crm : link crm.lead to website.visitor
If a website_visitor submit a contact form (and becomes a lead), the website_visitor is linked to the crm.lead. the website visitor name is than adapted to match the name of the first crm.lead linked to the visitor, ONLY if the visitor doesn't already have a res.partner. A visitor can have multiple crm.lead as he can send multiple contact form and create multiple leads. Task ID: 34624 PR #2028059
Diffstat (limited to 'addons/website_crm/models/__init__.py')
-rw-r--r--addons/website_crm/models/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_crm/models/__init__.py b/addons/website_crm/models/__init__.py
index 7ac0406ee23..cfa52fe08d4 100644
--- a/addons/website_crm/models/__init__.py
+++ b/addons/website_crm/models/__init__.py
@@ -3,3 +3,4 @@
from . import crm_lead
from . import res_config_settings
+from . import website_visitor