Commit ff29762e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* Fix more problems with the use of portal_membership

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26490 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 89742c89
......@@ -82,8 +82,7 @@ if source_person is not None \\\n
and destination_decision_person is not None\\\n
and source_person.getDefaultEmailText() \\\n
and source_person.getReference():\n
source_user = portal.portal_membership.getMemberById(source_person.getReference())\n
if source_user is not None:\n
if len(portal.acl_users.erp5_users.getUserByLogin(source_person.getReference())):\n
message = """\n
A question from task has been assigned to you by %(assignor)s.\n
\n
......@@ -172,7 +171,6 @@ Please visit ERP5: %(url)s\n
<string>source_person</string>
<string>destination_decision_person</string>
<string>None</string>
<string>source_user</string>
<string>message</string>
</tuple>
</value>
......
......@@ -68,8 +68,7 @@ if source_person is not None \\\n
and destination_decision_person is not None\\\n
and source_person.getDefaultEmailText() \\\n
and source_person.getReference():\n
source_user = portal.portal_membership.getMemberById(source_person.getReference())\n
if source_user is not None:\n
if len(portal.acl_users.erp5_users.getUserByLogin(source_person.getReference())):\n
message = """\n
Restarted task has been assigned to you by %(assignor)s.\n
\n
......@@ -145,7 +144,7 @@ Please visit ERP5: %(url)s\n
<string>source_person</string>
<string>destination_decision_person</string>
<string>None</string>
<string>source_user</string>
<string>len</string>
<string>message</string>
</tuple>
</value>
......
632
\ No newline at end of file
633
\ 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