diff --git a/product/ERP5/Document/Alarm.py b/product/ERP5/Document/Alarm.py index e17b898b53ed9c79ae4c39d10f09bef318f8dbe9..a11efd42aad7f18ccea84ab977c448de30af9119 100644 --- a/product/ERP5/Document/Alarm.py +++ b/product/ERP5/Document/Alarm.py @@ -436,7 +436,7 @@ class Alarm(XMLObject, PeriodicityMixin): if self.sense(): prefix = 'ERROR' else: - if notification_mode != 'always' + if notification_mode != 'always': return prefix = 'INFO' notification_tool = getToolByName(self, 'portal_notifications')