From 8ae87e356867414835bf99ce19e09ceb0733a2f3 Mon Sep 17 00:00:00 2001 From: "RME (OpenERP)" Date: Mon, 28 Feb 2011 16:38:04 +0530 Subject: [PATCH] [FIX] crm : attachment_ids(o2m) having No-Name and that's why it choose name as 'unknown' lp bug: https://launchpad.net/bugs/726455 fixed bzr revid: rme@tinyerp.com-20110228110804-mcmqi5ooykhnynoy --- addons/crm/wizard/crm_send_email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_send_email.py b/addons/crm/wizard/crm_send_email.py index 3ce5942272d..62e8ee77c1e 100644 --- a/addons/crm/wizard/crm_send_email.py +++ b/addons/crm/wizard/crm_send_email.py @@ -56,7 +56,7 @@ class crm_send_new_email(osv.osv_memory): 'subject': fields.char('Subject', size=512, required=True), 'body': fields.text('Message Body', required=True), 'state': fields.selection(AVAILABLE_STATES, string='Set New State To', required=True), - 'attachment_ids' : fields.one2many('crm.send.mail.attachment', 'wizard_id'), + 'attachment_ids' : fields.one2many('crm.send.mail.attachment', 'wizard_id', 'Attachment'), 'html': fields.boolean('HTML formatting?', help="Select this if you want to send email with HTML formatting."), }