Commit 0bab40e5 authored by Jérome Perrin's avatar Jérome Perrin

supply use sections not nodes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a6b27831
......@@ -67,10 +67,10 @@
<key> <string>_body</string> </key>
<value> <string>base_category_tuple = (\'resource\',)\n
\n
if context.getSource():\n
base_category_tuple += (\'source\',)\n
if context.getDestination():\n
base_category_tuple += (\'destination\',)\n
if context.getSourceSection():\n
base_category_tuple += (\'source_section\',)\n
if context.getDestinationSection():\n
base_category_tuple += (\'destination_section\',)\n
\n
#backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n
......
......@@ -67,10 +67,10 @@
<key> <string>_body</string> </key>
<value> <string>base_category_tuple = (\'resource\',)\n
\n
if context.getSource():\n
base_category_tuple += (\'source\',)\n
if context.getDestination():\n
base_category_tuple += (\'destination\',)\n
if context.getSourceSection():\n
base_category_tuple += (\'source_section\',)\n
if context.getDestinationSection():\n
base_category_tuple += (\'destination_section\',)\n
\n
#backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n
......
275
\ No newline at end of file
276
\ 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