Commit 0f9badc9 authored by Sebastien Robin's avatar Sebastien Robin

2009-04-17 Seb

* Fix another problem with the use of portal_membership

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26485 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9e2f555
......@@ -68,8 +68,7 @@ if source_person is not None \\\n
and destination_decision_person is not None \\\n
and destination_decision_person.getDefaultEmailText() \\\n
and destination_decision_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
%s has finished the task report titled with %s.\n
Please look at this URL:\n
......@@ -132,7 +131,7 @@ container.PackingList_updateAppliedRule(state_change)\n
<string>source_person</string>
<string>destination_decision_person</string>
<string>None</string>
<string>source_user</string>
<string>len</string>
<string>message</string>
<string>container</string>
</tuple>
......
631
\ No newline at end of file
632
\ 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