From caa86d0c5c876dd26e8bdab62ffba7c196cffff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 8 Feb 2016 03:31:20 +0000 Subject: [PATCH] crm: Associate MailMessageConstraint to Mail Message Since sending email will not work without destination email, we can globally set this constaint --- .../property_sheet_list.xml | 3 +++ bt5/erp5_crm/bt/template_portal_type_property_sheet_list | 1 + 2 files changed, 4 insertions(+) diff --git a/bt5/erp5_crm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_crm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 4c3de1536e..088a6c8531 100644 --- a/bt5/erp5_crm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_crm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -6,6 +6,9 @@ <portal_type id="Event Path"> <item>EventPath</item> </portal_type> + <portal_type id="Mail Message"> + <item>MailMessageConstraint</item> + </portal_type> <portal_type id="Meeting"> <item>DefaultEventPath</item> </portal_type> diff --git a/bt5/erp5_crm/bt/template_portal_type_property_sheet_list b/bt5/erp5_crm/bt/template_portal_type_property_sheet_list index 1e725fbed5..01f60aa1e6 100644 --- a/bt5/erp5_crm/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_crm/bt/template_portal_type_property_sheet_list @@ -1,5 +1,6 @@ Campaign | DefaultEventPath Campaign | DefaultOutcomePath Event Path | EventPath +Mail Message | MailMessageConstraint Meeting | DefaultEventPath Support Request | Codification \ No newline at end of file -- 2.30.9