Commit d707d1ba authored by Łukasz Nowak's avatar Łukasz Nowak

- allow to manage library fields for business templates without new field library


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30797 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b66eace3
...@@ -91,6 +91,7 @@ def getForm(skin_folder, form_id):\n ...@@ -91,6 +91,7 @@ def getForm(skin_folder, form_id):\n
bt_title = context.getTitle()\n bt_title = context.getTitle()\n
field_library_id = calculateFieldLibraryID(bt_title)\n field_library_id = calculateFieldLibraryID(bt_title)\n
\n \n
field_library_dict = {}\n
# Check if the Field Library exists\n # Check if the Field Library exists\n
skin_id_list = context.getTemplateSkinIdList()\n skin_id_list = context.getTemplateSkinIdList()\n
if skin_id_list:\n if skin_id_list:\n
...@@ -275,6 +276,7 @@ return field_list\n ...@@ -275,6 +276,7 @@ return field_list\n
<string>context</string> <string>context</string>
<string>bt_title</string> <string>bt_title</string>
<string>field_library_id</string> <string>field_library_id</string>
<string>field_library_dict</string>
<string>skin_id_list</string> <string>skin_id_list</string>
<string>main_skin_id</string> <string>main_skin_id</string>
<string>_getitem_</string> <string>_getitem_</string>
...@@ -283,7 +285,6 @@ return field_list\n ...@@ -283,7 +285,6 @@ return field_list\n
<string>None</string> <string>None</string>
<string>_write_</string> <string>_write_</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>field_library_dict</string>
<string>field</string> <string>field</string>
<string>field_path</string> <string>field_path</string>
<string>template_form_id</string> <string>template_form_id</string>
......
536 537
\ 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