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

Hello,

I am hoping to create some python code for a server action so that a lead is only created in certain circumstances.

My current problem is that a new lead is created even from incoming mail from linkedin etc, so I want the python code to check the email address against a list (which can be a file on the openerp server machine) and then only creates the lead if the email is not from a "banned" email address.

However, I am struggling to get started on the code. I have found something similar here: https://accounts.openerp.com/forum/Help-1/question/272/ but the code needs altering to make the check on the email address.

Thank you for your time.

Lawrence

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 16
5322
0
มี.ค. 25
1219
0
พ.ค. 24
1533
4
เม.ย. 24
173889
0
ธ.ค. 23
1998