← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-726455-rme into lp:openobject-addons

 

Ravindra Mekhiya(OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-726455-rme into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  #726455 opportunity having 'unknown'
  https://bugs.launchpad.net/bugs/726455

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-726455-rme/+merge/51516

Hello,

-crm : attachment_ids(o2m) field having No-Name and that's why it choose name as 'unknown'.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-726455-rme/+merge/51516
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-726455-rme.
=== modified file 'crm/wizard/crm_send_email.py'
--- crm/wizard/crm_send_email.py	2011-01-14 00:11:01 +0000
+++ crm/wizard/crm_send_email.py	2011-02-28 11:13:39 +0000
@@ -56,7 +56,7 @@
         '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."), 
     }
 


Follow ups