Odoo Help


Automatic email on invoice validation

Justin Allen
on 7/23/16, 11:12 AM 707 views

  How can I setup an automated action to email an invoice once it is validated?  I have tried on creation,  but that tries to send the email as soon as the invoice is created and before it is validated resulting in a $0 invoice being sent.  

Vo Tri
On 8/4/16, 6:19 AM


When validated Invoice, system was create account_move -> account_move_line. You want Automatic email on invoice validation, you write in post function in account move.

 class AccountMove(models.Model):

_inherit = 'account.move'


def post(self):

res = super(AccountMove, self).post()

// You write function send mail

return res

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: 7/23/16, 11:12 AM
Seen: 707 times
Last updated: 8/4/16, 6:19 AM