diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_addAccountingTransactionLine.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_addAccountingTransactionLine.xml index 7fe2743b4cf9f9401c280b5fdb06af77f78d606d..3ea8f1f00d1f8a7ac51cb090c4e35e14d08212cd 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_addAccountingTransactionLine.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_addAccountingTransactionLine.xml @@ -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> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index bc37cf331bbafc76db8c1ca6a16cc8da07296e00..9b5ad81b298ab9c72ed2d5959092d09cc0803a0d 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1029 \ No newline at end of file +1030 \ No newline at end of file