Articles

How to send mail from Any Button in OpenERP/Odoo ?

by Sumeet Arora CTO,Evon Technologies

mail.jpg


OpenERP enables utilizer to send and receive emails when an action is done from OpenERP. We can configure emails to be send when a sale is verify or invoice is paid etc. But to implements these type of functionality, we require to update the functions that is being called from these button actions.


We require to call the send_mail function in these button actions to send mail. OpenERP enables to send mail utilizing “Automated Actions” but we cannot configure it when a button action is done for example when a report is printed from a button action. This requires conversion in code.


We have developed a module in such a way that the utilizer will be able to configure to which button action mail is to be send. Utilizer requires some technical erudition about OpenERP like button denomination, button type etc. Module integrates an incipient menu in location “Settings -> Button Mail Configuration > Button Mail Configuration” where utilizer will be able to configure the button actions.

Read full Blog about How to send mail from Any Button in OpenERP/Odoo visit Findnerd(A Social Network for Developers).



Sponsor Ads


About Sumeet Arora Advanced   CTO,Evon Technologies

83 connections, 0 recommendations, 219 honor points.
Joined APSense since, March 31st, 2015, From Dehradun, India.

Created on Dec 31st 1969 18:00. Viewed 0 times.

Comments

No comment, be the first to comment.
Please sign in before you comment.