Files
odoo_source/addons
David Beguin 95fe5f8baa [FIX] website_crm: fix link visitor to lead on insert_record override
This commit fixes the insert_record override where, after calling super,
the visitor is linked a lead with the id got from result, no matter if the
model is lead or not.

This commit adds the check to apply the link between visitor and lead only if
the current model is crm.lead.

Task ID: 2179631
PR #43731

closes odoo/odoo#43814

X-original-commit: 37d4fa4385c6c98bff6b5adc7b6aa0ee325c49eb
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-01-23 08:38:08 +00:00
..
2019-12-10 10:00:18 +00:00
2019-10-03 12:48:09 +00:00
2020-01-02 12:09:30 +00:00
2020-01-06 08:26:28 +00:00
2020-01-22 11:23:16 +00:00
2020-01-13 09:50:04 +00:00
2020-01-22 11:23:16 +00:00