Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You need to have a python code that will generate the mail and send. You can place the below code (and modify it to fit your needs) in the model for which you want to send email, and than call the method send_mail("name of the temlate") from the code that handles your form submission, or I prefer to have a workflow associated with the model and send mail from the actions in the workflow.
def send_mail(self, cr, uid, ids, context=None, template=""):
for object in self.browse(cr, uid, ids, context=context):
# Check if the parnter has "opt_out" for the mail
if (not object.partner_id.opt_out):
template_id = self.pool.get('email.template').search(cr, uid, [("name","=",template)])
mail_message = self.pool.get('email.template').send_mail(cr,uid,template_id,object.id)
you can sent the email automatically by using server actions.
You see the following link for using the automated email:
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/11/15, 2:44 AM|
|Seen: 2858 times|
|Last updated: 9/27/16, 1:21 AM|