diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml index f9ee586ffa1cd462cabbd864d4e4388e229340a1..ca27603c46f474f68e96508f2c4c638dde1e571a 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_createReversalTransaction.xml @@ -146,7 +146,10 @@ for line in line_list:\n if plan:\n reversal.plan()\n \n -return reversal.Base_redirect(\'view\',\n +if batch:\n + return reversal\n +else:\n + return reversal.Base_redirect(\'view\',\n keep_items=dict(portal_status_message=\n Base_translateString("Reversal Transaction for ${specific_reference} created.",\n mapping={\'specific_reference\': specific_reference})))\n @@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n </item> <item> <key> <string>_params</string> </key> - <value> <string>cancellation_amount=False, date=None, plan=False, **kw</string> </value> + <value> <string>cancellation_amount=False, date=None, plan=False, batch=False, **kw</string> </value> </item> <item> <key> <string>id</string> </key> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 039a4fd172b616f70377d9bf92841ea8f173e5b7..6107935ad7ee235ee826b6760f34e96278b94c5e 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1467 \ No newline at end of file +1468 \ No newline at end of file