Commit b143fa77 authored by Jérome Perrin's avatar Jérome Perrin

Apply Boris Kocherov patch to fix installation of business templates from repositories

http://mail.nexedi.com/pipermail/erp5-dev/2008-August/002024.html

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23123 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38902505
......@@ -75,10 +75,10 @@ object_to_update = {}\n
for item in listbox:\n
bt_id, object_id = item[\'listbox_key\'].split(\'|\')\n
if bt_dict.has_key(bt_id):\n
bt_dict[bt_id][object_id] = item[\'choice\']\n
bt_dict[bt_id][object_id] = item[\'choice\'][0]\n
else:\n
bt_dict[bt_id] = {}\n
bt_dict[bt_id][object_id] = item[\'choice\']\n
bt_dict[bt_id][object_id] = item[\'choice\'][0]\n
\n
bt_title_list = []\n
for bt_id in bt_id_list:\n
......@@ -184,6 +184,12 @@ return RESPONSE.redirect("%s?portal_status_message=Business+Template+%s+installe
<key> <string>id</string> </key>
<value> <string>TemplateTool_installBusinessTemplateListAction</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
936
\ No newline at end of file
937
\ 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