Commit dc13fca7 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_crm: display standard preview on Mail Message only if...

erp5_crm: display standard preview on Mail Message only if internet_message_post_module isn't installed
parent 94ca67bf
......@@ -26,11 +26,13 @@
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value> <string>Default preview action for Events</string> </value>
</item>
<item>
<key> <string>icon</string> </key>
......@@ -76,4 +78,17 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: getattr(context.getPortalObject(), \'internet_message_post_module\', None) is None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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