Commit a49dc727 authored by Nicolas Delaby's avatar Nicolas Delaby

use BugLine_getRecipientValueList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23367 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1ebb351
...@@ -75,10 +75,7 @@ if person is not None:\n ...@@ -75,10 +75,7 @@ if person is not None:\n
context.setSourceValue(person)\n context.setSourceValue(person)\n
\n \n
# Define Recipents\n # Define Recipents\n
project = context.getParentValue().getSourceProjectValue()\n context.setDestinationValueList(context.BugLine_getRecipientValueList())\n
if project is not None:\n
person_list = [ i.getParent() for i in project.getDestinationProjectRelatedValueList(portal_type="Assignment")]\n
context.setDestinationValueList(person_list)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -134,12 +131,6 @@ if project is not None:\n ...@@ -134,12 +131,6 @@ if project is not None:\n
<string>DateTime</string> <string>DateTime</string>
<string>person</string> <string>person</string>
<string>None</string> <string>None</string>
<string>project</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>i</string>
<string>person_list</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
348 349
\ No newline at end of file \ 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