Commit c2849d3a authored by Yusei Tahara's avatar Yusei Tahara

Don't convert Message object to string. This is used when user see workflow history.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23221 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 291f6e78
......@@ -67,7 +67,8 @@
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import Message\n
\n
N_ = lambda msg, **kw: str(Message(\'erp5_ui\', msg, **kw))\n
# Return Message object, so that this message will be translated when it is rendered later.\n
N_ = lambda msg, **kw: Message(\'erp5_ui\', msg, **kw)\n
\n
payment_transaction = context\n
\n
......
747
\ No newline at end of file
748
\ No newline at end of file
......@@ -80,7 +80,8 @@ except ImportError:\n
class WorkflowException(Exception):\n
pass\n
\n
N_ = lambda msg, **kw: str(Message(\'erp5_ui\', msg, **kw))\n
# Return Message object, so that this message will be translated when it is rendered later.\n
N_ = lambda msg, **kw: Message(\'erp5_ui\', msg, **kw)\n
\n
invoice = context\n
\n
......
122
\ No newline at end of file
123
\ 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