[Erp5-report] r21688 - /erp5/trunk/products/ERP5/Tool/NotificationTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jun 18 16:35:45 CEST 2008
Author: nicolas
Date: Wed Jun 18 16:35:36 2008
New Revision: 21688
URL: http://svn.erp5.org?rev=21688&view=rev
Log:
getDocumentValue returns all matched documents in Notification Message Module
Modified:
erp5/trunk/products/ERP5/Tool/NotificationTool.py
Modified: erp5/trunk/products/ERP5/Tool/NotificationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/NotificationTool.py?rev=21688&r1=21687&r2=21688&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/NotificationTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/NotificationTool.py Wed Jun 18 16:35:36 2008
@@ -409,3 +409,13 @@
This could change though.
"""
return self.getPortalEventTypeList()
+
+ def getDocumentValue(self, **kw):
+ """
+ Returns the last version of a Notification Document in selected Language.
+ """
+ method = self._getTypeBasedMethod('getDocumentValue')
+ return method(**kw)
+
+ def __call__(self, *args, **kw):
+ return self.sendMessage(*args, **kw)
More information about the Erp5-report
mailing list