From 85ff345031c8c94f0b688bff30adbd21d739375c Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Thu, 1 Dec 2011 17:24:13 +0100 Subject: [PATCH] [IMP] project_scrum: re-enable email send (they are not actually sent in test mode) bzr revid: rco@openerp.com-20111201162413-ek8ofnbd0ukwfk5g --- addons/project_scrum/test/sprint_process.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/project_scrum/test/sprint_process.yml b/addons/project_scrum/test/sprint_process.yml index d3411204f2a..8c8f70b1188 100644 --- a/addons/project_scrum/test/sprint_process.yml +++ b/addons/project_scrum/test/sprint_process.yml @@ -53,9 +53,8 @@ ctx.update({'active_model': 'project.scrum.meeting', 'active_id': ref("scrum_meeting_0"), 'active_ids': [ref("scrum_meeting_0")]}) vals = self.default_get(cr, uid , [], context=ctx) try: - new_id = self.create(cr, uid, {'email_to': 'xyz@mycompany.com', 'subject': 'test'}) - # We don't actually send the email, since this could log an error due to config... - # self.send_mail(cr, uid, [new_id], context=ctx) + new_id = self.create(cr, uid, {'email_from': 'test@openerp.com', 'email_to': 'xyz@mycompany.com', 'subject': 'test'}) + self.send_mail(cr, uid, [new_id], context=ctx) except Exception, e: pass -