diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py index b458ba74c369a025e85f37598ba8fd93796e81ce..189fa79a83fdddb116537a5edf62f9b9361d308e 100644 --- a/product/ERP5/Tool/NotificationTool.py +++ b/product/ERP5/Tool/NotificationTool.py @@ -409,3 +409,13 @@ class NotificationTool(BaseTool): 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)