Commit 932f6194 authored by Jérome Perrin's avatar Jérome Perrin

crm: do not restrict notification messages to response in Ticket_viewNewEventDialog

This dialog can be used outside of the "creating a response context", so filtering the notification messages to only the response one is not always good.
Introduce a request key "notification_message_response_only" that will apply the filter if true.
parent 8c2c2bb0
......@@ -129,7 +129,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.Event_getNotificationMessageItemList(response_only=True)</string> </value>
<value> <string>python: context.Event_getNotificationMessageItemList(response_only=request.get(\'notification_message_response_only\', False))</string> </value>
</item>
</dictionary>
</pickle>
......
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