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.
Hi, i have implemented email functionality for modules when event is triggered, right now am trying to push mails to mails pool , after that i need to send mails from spool , is there any concept of pushing mails to spool in odoo framework ??, can any one tell me where can i find it
HI Axel Thanks for response,
i got this by
'subject': 'Leave Status',
'body_html': 'HI %s'% employeeName +'
Leave Type: %s' % statusName + '
No.of days: %s'%record.number_of_days_temp+'
The status of the leave you''ve applied for the period %s'% record.date_from+'TO %s' %record.date_to +'has been changed to %s'% record.state , 'auto_delete': True, 'type': 'email', }
mail_obj = self.pool.get('mail.mail')
msg_id = mail_obj.create(cr, uid,mail_values, context=context)
msg_obj = self.pool.get('mail.message')
msg_obj.create(cr, uid, mail_values)
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: 7/8/15, 1:23 AM|
|Seen: 526 times|
|Last updated: 10/17/15, 4:46 AM|