diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_isTextContentEditable.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_isTextContentEditable.xml index 8f59fb3b70831650cc21d6dec729e68ce75ea0f0..4d7901af1c156819cc1f62200fed60e786dbaa5a 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_isTextContentEditable.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_isTextContentEditable.xml @@ -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>