From 0043ed55a3756580f34daf5180515c40883f4cf5 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Wed, 14 Dec 2011 18:25:43 +0530 Subject: [PATCH] [FIX] project_issue: In yml, set email_from on compose mail to send reply to customer bzr revid: hmo@tinyerp.com-20111214125543-oeosngloik6biiu7 --- addons/project_issue/test/issue_process.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project_issue/test/issue_process.yml b/addons/project_issue/test/issue_process.yml index 4614bed3997..d5900bb1b4f 100644 --- a/addons/project_issue/test/issue_process.yml +++ b/addons/project_issue/test/issue_process.yml @@ -26,7 +26,7 @@ ctx.update({'active_model': 'project.issue', 'active_id': ref("crm_case_buginaccountsmodule0"), 'active_ids': [ref("crm_case_buginaccountsmodule0")]}) vals = self.default_get(cr, uid , [], context=ctx) try: - new_id = self.create(cr, uid, {'email_to': 'Robert_Adersen@yahoo.com', 'subject': 'Regarding error in account module we nees more details'}) + new_id = self.create(cr, uid, {'email_from': 'support@mycompany.com','email_to': 'Robert_Adersen@yahoo.com', 'subject': 'Regarding error in account module we nees more details'}) self.send_mail(cr, uid, [new_id], context=ctx) except Exception, e: pass @@ -54,4 +54,4 @@ I Check state of Issue after closed. - !assert {model: project.issue, id: crm_case_buginaccountsmodule0, severity: error, string: Issue should be in done state}: - - state == 'done' \ No newline at end of file + - state == 'done'