Commit 36477a37 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_crm: Embedded File is required as Allowed Content on Mail Message

   Since the MailMessage_send uses Embeeded File to create attachments, on the Mail Message before send it is required to add it as Allowed Content type, otherwise, it will raise, "ValueError: Disallowed subobject type: Embedded File on <Temporary Mail Message at /erp5/None>"
parent 2b48ad98
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<portal_type id="Letter"> <portal_type id="Letter">
<item>Embedded File</item> <item>Embedded File</item>
</portal_type> </portal_type>
<portal_type id="Mail Message">
<item>Embedded File</item>
</portal_type>
<portal_type id="Meeting"> <portal_type id="Meeting">
<item>Event Path</item> <item>Event Path</item>
</portal_type> </portal_type>
......
...@@ -12,6 +12,7 @@ Event Module | Site Message ...@@ -12,6 +12,7 @@ Event Module | Site Message
Event Module | Visit Event Module | Visit
Event Module | Web Message Event Module | Web Message
Letter | Embedded File Letter | Embedded File
Mail Message | Embedded File
Meeting Module | Meeting Meeting Module | Meeting
Meeting | Event Path Meeting | Event Path
Preference | Support Request Preference | Support Request
......
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