Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to escalate a mail to team leader?

By
Jothimani
on 5/19/14, 7:13 AM 1,423 views

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/19/14, 7:13 AM
Seen: 1423 times
Last updated: 3/16/15, 8:10 AM