콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
9941 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
8월 16
5170
0
3월 25
827
0
5월 24
1329
4
4월 24
173235
0
12월 23
1686