Commit 0d1885ee authored by Jérome Perrin's avatar Jérome Perrin

squash! ERP5Type: fix transaction.note "expected text" warning with transaction 2

parent 8d81b128
...@@ -377,7 +377,7 @@ class Message(BaseMessage): ...@@ -377,7 +377,7 @@ class Message(BaseMessage):
# that method ! # that method !
method = getattr(obj, self.method_id) method = getattr(obj, self.method_id)
transaction.get().note( transaction.get().note(
'CMFActivity ' + '/'.join(self.object_path) + '/' + self.method_id u'CMFActivity {}/{}'.format('/'.join(self.object_path), self.method_id)
) )
# Store site info # Store site info
setSite(activity_tool.getParentValue()) setSite(activity_tool.getParentValue())
......
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