Commit 2020b08e authored by Fabien Morin's avatar Fabien Morin

update portal status messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27532 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83d67e91
...@@ -114,7 +114,7 @@ paysheet.edit(**new_category_dict)\n ...@@ -114,7 +114,7 @@ paysheet.edit(**new_category_dict)\n
if not batch_mode:\n if not batch_mode:\n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
keep_items=dict(portal_status_message=\\\n keep_items=dict(portal_status_message=\\\n
Base_translateString(\'Pay Sheet Transaction updated.\')))\n Base_translateString(\'Pay sheet transaction updated.\')))\n
]]></string> </value> ]]></string> </value>
......
...@@ -95,7 +95,7 @@ if not employee_obj.getMaritalStatusId():\n ...@@ -95,7 +95,7 @@ if not employee_obj.getMaritalStatusId():\n
return redirect(\'The employee must have a marital status\')\n return redirect(\'The employee must have a marital status\')\n
\n \n
context.applyTransformation()\n context.applyTransformation()\n
msg = Base_translateString(\'Lines created\')\n msg = Base_translateString(\'Pay sheet lines created.\')\n
return context.Base_redirect(\'view\',\n return context.Base_redirect(\'view\',\n
keep_items=dict(portal_status_message=msg))\n keep_items=dict(portal_status_message=msg))\n
</string> </value> </string> </value>
......
466 467
\ No newline at end of file \ 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