diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2012-09-13 13:22:23 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2012-09-13 13:22:23 +0530 |
| commit | fab90cb7d47f2173bb27616bf15094ad92118e2f (patch) | |
| tree | ff8f486fc7b349335d1f1785e6c901dadd215d2c /addons/plugin | |
| parent | a8d177d97acf7abe40a8530dd7734124f05dfbea (diff) | |
[FIX] plugin: fix issue
bzr revid: hmo@tinyerp.com-20120913075223-5s0eeg4a7dlqat1m
Diffstat (limited to 'addons/plugin')
| -rw-r--r-- | addons/plugin/plugin_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py index 3e2f09d8789..983f3d60dfc 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -48,7 +48,7 @@ class plugin_handler(osv.osv_memory): msg_id = msg.get('parent_id', False) message_id = msg.get('message_id') if not msg_id: - msg_ids = mail_message_obj.search(cr, uid, ('message_id','=', message_id)) + msg_ids = mail_message_obj.search(cr, uid, [('message_id','=', message_id)]) msg_id = len(msg_ids) and msg_ids[0] or False if msg_id: msg = mail_message_obj.browse(cr, uid, msg_id) |
