[Erp5-report] r17515 - /erp5/trunk/products/ERP5/Document/MailMessage.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Nov 10 19:33:10 CET 2007
Author: jp
Date: Sat Nov 10 19:33:10 2007
New Revision: 17515
URL: http://svn.erp5.org?rev=17515&view=rev
Log:
Better class description. Now a legacy class.
Modified:
erp5/trunk/products/ERP5/Document/MailMessage.py
Modified: erp5/trunk/products/ERP5/Document/MailMessage.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/MailMessage.py?rev=17515&r1=17514&r2=17515&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/MailMessage.py (original)
+++ erp5/trunk/products/ERP5/Document/MailMessage.py Sat Nov 10 19:33:10 2007
@@ -32,7 +32,6 @@
from Products.CMFMailIn.MailMessage import MailMessage as CMFMailInMessage
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
-from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5.Document.Event import Event
import smtplib
@@ -41,7 +40,15 @@
class MailMessage(Event, CMFMailInMessage):
"""
- MailMessage subclasses Event objects to implement Email Events.
+ LEGACY
+
+ The MailMessage class is deprecated. It is superceded by
+ the Event class (for CRM events) and by the EmailDocument class
+ (to store raw email messages).
+
+ TODO: compatibility layer is required so that old MailMessage
+ instance can mimic Event instances based on legacy data. This
+ is required for example for old CRM implementations of ERP5.
"""
meta_type = 'ERP5 Mail Message'
More information about the Erp5-report
mailing list