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

Hello!

I made a customization in the create method of the crm.lead module. Every time a lead is created, automatically a specific user is added as follower by default.

reg = { 
'res_id': record.id,
'res_model': 'crm.lead',
'partner_id': partner_id,
}
if not env['mail.followers'].search([('res_id','=',record.id),('res_model','=','crm.lead'),('partner_id','=',partner_id)]):
    follower_id = env['mail.followers'].create(reg)

The problem is that normally when a user is listed as a follower he is notified with an email. Through this customization however the email notification does not come. Is it possible to send an email to this user automatically?

Thank you


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Disable Followers แก้ไขแล้ว
1
ก.ค. 24
4414
1
มิ.ย. 24
3220
0
ก.พ. 23
1750
Remove kanban view from crm pipeline แก้ไขแล้ว
2
ก.ย. 22
3082
0
ก.พ. 20
2789