Commit 70db1e05 authored by Jérome Perrin's avatar Jérome Perrin

CRM: only filter notification messages when creating a reply

parent 08578ae8
......@@ -67,7 +67,7 @@ for notification_message in portal.portal_catalog(\n
if reference and reference not in reference_set:\n
reference_set.add(reference)\n
service = notification_message.getSpecialiseValue()\n
if preferred_use_list:\n
if response_only and preferred_use_list:\n
if service is not None:\n
for preferred_use in preferred_use_list:\n
if service.isMemberOf(\'use/%s\' % preferred_use):\n
......
......@@ -118,7 +118,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/Event_getNotificationMessageItemList</string> </value>
<value> <string>python: here.Event_getNotificationMessageItemList(response_only=True)</string> </value>
</item>
</dictionary>
</pickle>
......
703
\ No newline at end of file
704
\ 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