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
7 lines
187 B
Python
7 lines
187 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import crm_lead
|
|
from . import res_config_settings
|
|
from . import website_visitor
|