diff options
| author | Christophe Simonis <chs@openerp.com> | 2014-01-24 14:24:50 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2014-01-24 14:24:50 +0100 |
| commit | 892325754e070c20f4bc920bdd2b80a78e747289 (patch) | |
| tree | 3a94546c4e8b18af8e3254ec440dc60e2670faab /addons/plugin/plugin_handler.py | |
| parent | 83677ed6e6d662ef715e14f99dda7f696dc23f93 (diff) | |
| parent | 4a32b57779f0b813aa6f7ba57147846619f68cc3 (diff) | |
[FIX] plugin: correct condition to match partners from emails.
correct copy/paste bug introduced in revid 9785 mat@openerp.com-20140122134728-558gkuhjpi2bc277
bzr revid: chs@openerp.com-20140124132450-cmx4acj6yei49aw7
Diffstat (limited to 'addons/plugin/plugin_handler.py')
| -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 8b19d702872..e48e5eb4119 100644 --- a/addons/plugin/plugin_handler.py +++ b/addons/plugin/plugin_handler.py @@ -109,7 +109,7 @@ class plugin_handler(osv.osv_memory): notify = _("Mail successfully pushed, a new %s has been created.") % model else: email_from = msg.get('email_from') - if email_from: + if not email_from: author_id = False else: authors = mail_thread_obj.message_find_partner_from_emails(cr, uid, [res_id], [email_from]) |
