Commit 5e3718e4 authored by Vincent Pelletier's avatar Vincent Pelletier

previous_form_id has been changed to form_id.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9109 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c356075
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>result = getattr(context, context.REQUEST.previous_form_id, None).get_field( context.REQUEST.field_id ).get_value(\'columns\')\n
<value> <string>result = getattr(context, context.REQUEST.form_id, None).get_field( context.REQUEST.field_id ).get_value(\'columns\')\n
\n
if result in [ [], (), None, \'\']:\n
result = getattr(context, \'Base_viewRelatedObjectList\', None).get_field( \'listbox\' ).get_value(\'columns\')\n
......
......@@ -72,7 +72,7 @@
# by Base_viewRelatedObjectList from the relation field\n
result = None\n
if parameter is not None:\n
result = getattr(context, context.REQUEST.previous_form_id, None).get_field( context.REQUEST.field_id ).get_value(parameter)\n
result = getattr(context, context.REQUEST.form_id, None).get_field( context.REQUEST.field_id ).get_value(parameter)\n
\n
if result in [ [], (), None, \'\']:\n
\n
......
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