[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
This commit is contained in:
RME (OpenERP) 2011-02-28 16:38:04 +05:30
parent 1bfe6c8df9
commit 8ae87e3568
1 changed files with 1 additions and 1 deletions

View File

@ -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."),
}