diff --git a/product/ERP5/Tool/AlarmTool.py b/product/ERP5/Tool/AlarmTool.py index 279346d1c0e58666792e17f9a34e1ffa427fcef0..fd07ede68c574eda569bdaf422dfb42c17425006 100644 --- a/product/ERP5/Tool/AlarmTool.py +++ b/product/ERP5/Tool/AlarmTool.py @@ -139,7 +139,7 @@ class AlarmTool(TimerServiceMixin, BaseTool): if alarm.isActive() or not alarm.isEnabled(): # do nothing if already active, or not enabled continue - if alarm.isAutomaticSolve(): + if alarm.getProperty('automatic_solve'): alarm.solve() else: alarm.activeSense()