Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
6119 Представления

Hello everyone,

 

I want to check whether a lead should be "Converted to Opportunities” or  not “Converted to Opportunities” within 30 minutes from the time of lead was created.

and if not Converted to Opportunities means, escalate a mail to team leader,

My idea was,

in crm_lead table...

type is a field for a lead current status "lead" or "opportunity",  here i want a lead is lead means escalate a mail to team leader otherwise do nothing.

here is my code...

    def _check_lead(self, cr, uid, ids, fields, args, context=None):
        res = {}
        for lead in self.browse(cr, uid, ids, context=context):
            if lead.type == 'lead':

                #here what i can do for to escalate email to team leader.

Anyone help me

Thanks and regards

Jo

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мая 23
3781
4
окт. 17
13361
1
мар. 15
5455
2
авг. 25
393
0
авг. 25
818