diff options
| author | Denis Ledoux <dle@openerp.com> | 2014-01-28 11:09:49 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2014-01-28 11:09:49 +0100 |
| commit | cbba7eb4daad8e977ea868acc10c842155323ff5 (patch) | |
| tree | 3f2b919ce29776bfba9c4a053406e3e2e7878cae /addons/plugin | |
| parent | a629cd41a234bbfd07a9bb59b853d39969475e72 (diff) | |
| parent | 4d3a623af74eec9807b18bced3acdd298063735c (diff) | |
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9796 revid:launchpad_translations_on_behalf_of_openerp-20140128070310-721zmkmw0ocyz6im
bzr revid: dle@openerp.com-20140128100949-mfa2geyx6rklwtcg
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 bdc0a50810b..932ea4ccbb6 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]) |
