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

only show validated organisations

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a484cdfe
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>section_item_list = context.Base_getPreferredSectionItemList(portal_type=\'Organisation\')\n <value> <string>section_item_list = context.Base_getPreferredSectionItemList(\n
portal_type=\'Organisation\', validation_state=\'validated\')\n
current_destination_section = context.getDestinationSection()\n current_destination_section = context.getDestinationSection()\n
if current_destination_section is not None and\\\n if current_destination_section is not None and\\\n
current_destination_section not in zip(*section_item_list)[1]:\n current_destination_section not in zip(*section_item_list)[1]:\n
......
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>section_item_list = context.Base_getPreferredSectionItemList(portal_type=\'Organisation\')\n <value> <string>section_item_list = context.Base_getPreferredSectionItemList(\n
portal_type=\'Organisation\', validation_state=\'validated\')\n
current_source_section = context.getSourceSection()\n current_source_section = context.getSourceSection()\n
if current_source_section is not None and\\\n if current_source_section is not None and\\\n
current_source_section not in zip(*section_item_list)[1]:\n current_source_section not in zip(*section_item_list)[1]:\n
......
1388 1390
\ 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