Skip to Content
मेन्यू
This question has been flagged
1 Reply
187 Views

I need to prevent automatic field population when CRM leads are created from incoming emails, while keeping the auto-population functionality when manually selecting a contact/partner in the UI.

Example Scenario:

When people send emails to our CRM team alias (e.g., sales@company.com), Odoo automatically creates a lead and fills in various fields based on the sender's email and existing partner data.

Desired Behavior:


From Email: Create completely clean CRM leads with NO auto-populated contact information (only the email subject as the lead name)

Manual UI: Keep all existing auto-population when users manually select a contact/partner in the lead form

How can I accomplish this? I attempted to modify the message_new() functionality, but the automatic data population that occurs after receiving emails remained unchanged. 
Thank you for your help!

Avatar
Discard
Author Best Answer

I had to change : in 'mail.thread' 

_message_route_process

and  in 'crm.lead'

message_new,  _message_add_suggested_recipient

Avatar
Discard
Related Posts Replies Views Activity
1
मार्च 24
1115
4
मई 25
2568
2
मई 25
5948
1
मार्च 25
1715
4
मार्च 25
4558