Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
462 มุมมอง

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!

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I had to change : in 'mail.thread' 

_message_route_process

and  in 'crm.lead'

message_new,  _message_add_suggested_recipient

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 24
1218
4
พ.ค. 25
2667
2
พ.ค. 25
6080
1
มี.ค. 25
1788
4
มี.ค. 25
4649