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

It's better to take into account sections and nodes on supplies

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23069 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d1106de7
......@@ -71,6 +71,10 @@ if context.getSourceSection():\n
base_category_tuple += (\'source_section\',)\n
if context.getDestinationSection():\n
base_category_tuple += (\'destination_section\',)\n
if context.getSource():\n
base_category_tuple += (\'source\',)\n
if context.getDestination():\n
base_category_tuple += (\'destination\',)\n
\n
#backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n
......
......@@ -72,6 +72,11 @@ if context.getSourceSection():\n
if context.getDestinationSection():\n
base_category_tuple += (\'destination_section\',)\n
\n
if context.getSource():\n
base_category_tuple += (\'source\',)\n
if context.getDestination():\n
base_category_tuple += (\'destination\',)\n
\n
#backwards compatibility\n
mapped_value_property_list = context.getMappedValuePropertyList()\n
if not \'priced_quantity\' in mapped_value_property_list:\n
......
276
\ No newline at end of file
277
\ 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