Hi Familly!!
I'm developping a claim module and i want to know if is it possible to send an automatic email and a default message to a client telling him that his claim has been saved. how can i configure that!!
(sorry for my bad english)
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
Hi Familly!!
I'm developping a claim module and i want to know if is it possible to send an automatic email and a default message to a client telling him that his claim has been saved. how can i configure that!!
(sorry for my bad english)
Hi lewis
you can make a schedule for this from
 settings-- > scheduler --- >  scheduled Actions
create an template in
 settings-- > emails --- >  template
create a model (object) and create function in that model (object), fuction should be like this
 def my_function(self,cr,uid,context=None):
     # search your created template id here ex: your_tem_id
     # search your model ids here  with your codition  ex: my_ids
     self.pool.get('email.tempalte').send_mail(self, cr, uid, your_tem_id, my_ids, force_send=True)
     return True
note: in schedule actions you will have to give your model object in object field and my_function in fucntion field and in parameter field ()
Thanks
Sandeep
how to send the multiple mail with send the template using schedular..?? which code is needed to put .py file for function in scheduler
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
| 
            
                Automatically send emails
            
            
                    Đã xử lý
            
         |  | 1 thg 2 19  | 22920 | |
|  | 0 thg 5 16  | 9091 | ||
|  | 1 thg 7 25  | 1787 | ||
|  | 5 thg 5 25  | 19600 | ||
|  | 0 thg 4 25  | 1709 |