Commit 201e88f4 authored by Jérome Perrin's avatar Jérome Perrin

since r33837, scripts used as relation_setter_id recieves list of documents instead of list of uids

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33838 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9e437721
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context.setSpecialiseUidList(relation_uid_list, portal_type=portal_type)\n <value> <string>context.setSpecialiseValueList(relation_value_list, portal_type=portal_type)\n
\n \n
if relation_uid_list:\n if relation_uid_list:\n
context.Order_applyTradeCondition(context.getSpecialiseValue(), force=1)\n context.Order_applyTradeCondition(context.getSpecialiseValue(), force=1)\n
...@@ -67,7 +67,7 @@ if relation_uid_list:\n ...@@ -67,7 +67,7 @@ if relation_uid_list:\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>relation_uid_list, portal_type</string> </value> <value> <string>relation_value_list, portal_type</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -93,10 +93,11 @@ if relation_uid_list:\n ...@@ -93,10 +93,11 @@ if relation_uid_list:\n
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>relation_uid_list</string> <string>relation_value_list</string>
<string>portal_type</string> <string>portal_type</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>relation_uid_list</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
879 880
\ 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