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 @@ ...@@ -67,10 +67,10 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>base_category_tuple = (\'resource\',)\n <value> <string>base_category_tuple = (\'resource\',)\n
\n \n
if context.getSource():\n if context.getSourceSection():\n
base_category_tuple += (\'source\',)\n base_category_tuple += (\'source_section\',)\n
if context.getDestination():\n if context.getDestinationSection():\n
base_category_tuple += (\'destination\',)\n base_category_tuple += (\'destination_section\',)\n
\n \n
#backwards compatibility\n #backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n mapped_value_property_list = context.getMappedValuePropertyList()\n
......
...@@ -67,10 +67,10 @@ ...@@ -67,10 +67,10 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>base_category_tuple = (\'resource\',)\n <value> <string>base_category_tuple = (\'resource\',)\n
\n \n
if context.getSource():\n if context.getSourceSection():\n
base_category_tuple += (\'source\',)\n base_category_tuple += (\'source_section\',)\n
if context.getDestination():\n if context.getDestinationSection():\n
base_category_tuple += (\'destination\',)\n base_category_tuple += (\'destination_section\',)\n
\n \n
#backwards compatibility\n #backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n mapped_value_property_list = context.getMappedValuePropertyList()\n
......
275 276
\ 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