Commit 2bcc0d80 authored by Yusei Tahara's avatar Yusei Tahara

2008-07-02 yusei

* when ingest email message, find sender from person document first and organisation later.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22229 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 379c4d5e
......@@ -75,7 +75,9 @@ for recipient in text.split(\',\'):\n
recipient = recipient[recipient.find(\'<\') + 1:]\n
recipient = recipient[:recipient.find(\'>\')]\n
if recipient:\n
email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=(\'Person\', \'Organisation\'))\n
email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Person\')\n
if email is None:\n
email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Organisation\')\n
if email is not None:\n
result.append(email.getParentValue())\n
return result\n
......
2008-07-02 yusei
* when ingest email message, find sender from person document first and organisation later.
2008-06-27 yusei
* Start to develop version 5.2.
......@@ -167,4 +170,4 @@ return values only which user can access.
* Clean portal type definition.
* Change module id (event->event_module, etc)
* Move Project* skins to folder erp5_project (included in business template erp5_project).
* Correct python script (where module ids are hardcoded).
* Correct python script (where module ids are hardcoded).
\ No newline at end of file
274
\ No newline at end of file
275
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment