Odoo Help


Message/Email on Modification

on 10/31/16, 10:53 AM 625 views

We want to send Messages/Emails to single Users or all Followers of an Object, when one field of an object has been modified. For example, if the state of a Delivery Order has changed to "delivered". 

How can we do that? With automated Actions/Server Actions? Thanks a lot!

You are right, you may create an Automated action rule for your object which runs a Server action to send email, which can be set to run on record creation/updation. You can do this from front end. I will try to share some screenshots.

Akhil P Sivan
on 2/14/17, 4:45 AM

Ameera PP

--Ameera PP--
--Ameera PP--

Ameera PP
On 11/2/16, 10:35 AM

In create function,check if there is anything in 'vals', then send mail..

def create(self, cr, uid, vals, context=None):
        if vals:
           ////..................Code to send mail...................///    

        return super(AccountAnalyticLine, self).create(cr, uid, vals, context=context)

Thanks, and how can I check if the modified field==state ?

on 11/16/16, 8:24 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/31/16, 10:53 AM
Seen: 625 times
Last updated: 2/14/17, 4:46 AM