Commit c9bccd0e authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: allow created different kind of Event

parent be58567f
...@@ -20,7 +20,7 @@ if resource is None: ...@@ -20,7 +20,7 @@ if resource is None:
resource = ticket.getResource() resource = ticket.getResource()
event = ticket.Ticket_createProjectEvent( event = ticket.Ticket_createProjectEvent(
title, direction, 'Web Message', title, direction, portal_type,
resource, resource,
text_content=text_content, text_content=text_content,
content_type='text/plain', content_type='text/plain',
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>title, text_content, attachment=None, batch=None, resource=None, **kw</string> </value> <value> <string>title, text_content, portal_type=\'Web Message\', attachment=None, batch=None, resource=None, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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