[MERGE] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function
bzr revid: odo@openerp.com-20130508102347-5cnvli102hgrzxml bzr revid: chs@openerp.com-20130508120951-0r17kb14yxr4r2l2
This commit is contained in:
@@ -110,7 +110,7 @@ class plugin_handler(osv.osv_memory):
|
||||
model_obj.message_post(cr, uid, [res_id],
|
||||
body=msg.get('body'),
|
||||
subject=msg.get('subject'),
|
||||
type='email',
|
||||
type='comment' if model == 'res.partner' else 'email',
|
||||
parent_id=msg.get('parent_id'),
|
||||
attachments=msg.get('attachments'))
|
||||
notify = _("Mail successfully pushed")
|
||||
|
||||
Reference in New Issue
Block a user