Commit 4082aa5d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! fixup! base: do not store a generated email message payload in a Mail Message document.

parent 407eb9ed
......@@ -58,7 +58,9 @@
of the Event, the event is considered as frozen and can not \n
be modified.\n
"""\n
return getattr(context, \'hasFile\', None) is not None and not context.hasFile()\n
return getattr(context, \'hasFile\', None) is not None and not context.hasFile() \\\n
and (context.getPortalType() != \'Mail Message\' \\\n
or context.getSimulationState() not in (\'started\', \'stopped\', \'delivered\'))\n
</string> </value>
</item>
<item>
......
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