Purpose of this commit is to ensure side documents are redirected to the master opportunity when merging leads. Those side documents include * communication history (mail.message); * attachments (ir.attachment); * visitors (website.visitor); However some documents are currently not specifically handled : * meetings (calendar.event); * activities (mail.activity); * sale orders (sale.order); * attendees (event.registration); In this commit we ensure all are attached to the final master opportunity. That way we prevent loosing access to those documents and ensure we keep the complete history of all merged leads. Also tests are added to ensure the merging of leads and its contents. A new field is added to have the o2m field between leads and calendar events. In order to clarify naming, ``meeting_count`` is renamed to ``calendar_event_count`` to match naming. Task Id-2457941 COM PR odoo/odoo#68884 UPG PR odoo/odoo#2494 Related: odoo/upgrade#2494 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Your Contact Form
Integrate contact forms with your leads
This simple application integrates a contact form in your "Contact us" page. Forms submissions create leads automatically in Odoo CRM.
Easy Contact Page
Get your leads filled up automatically with your contact form integration. This application allows a better qualification of the lead which is perfect to link them to marketing campaigns.