Commit 38ab1356 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

go back to the original form if possible when a user adds an accounting transaction line.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30215 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e94c03a
......@@ -59,7 +59,7 @@ use.\n
\'\'\'\n
Base_translateString = context.Base_translateString\n
context.newContent(portal_type=portal_type)\n
return context.Base_redirect(\'view\', keep_items=dict(\n
return context.Base_redirect(form_id, keep_items=dict(\n
portal_status_message=Base_translateString(\'Accounting Transaction Line added.\'),\n
selection_name=selection_name,\n
selection_index=selection_index))\n
......@@ -73,7 +73,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>portal_type=\'Accounting Transaction Line\', selection_name=\'\', selection_index=0</string> </value>
<value> <string>portal_type=\'Accounting Transaction Line\', selection_name=\'\', selection_index=0, form_id=\'view\'</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -93,7 +93,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>3</int> </value>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
......@@ -102,6 +102,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<string>portal_type</string>
<string>selection_name</string>
<string>selection_index</string>
<string>form_id</string>
<string>_getattr_</string>
<string>context</string>
<string>Base_translateString</string>
......@@ -121,6 +122,7 @@ return context.Base_redirect(\'view\', keep_items=dict(\n
<string>Accounting Transaction Line</string>
<string></string>
<int>0</int>
<string>view</string>
</tuple>
</value>
</item>
......
1029
\ No newline at end of file
1030
\ 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