[Erp5-report] r18561 - /erp5/trunk/products/ERP5/PropertySheet/Alarm.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 31 11:00:43 CET 2007


Author: jp
Date: Mon Dec 31 11:00:43 2007
New Revision: 18561

URL: http://svn.erp5.org?rev=18561&view=rev
Log:
Added method resolution method as well as notification mode properties.

Modified:
    erp5/trunk/products/ERP5/PropertySheet/Alarm.py

Modified: erp5/trunk/products/ERP5/PropertySheet/Alarm.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Alarm.py?rev=18561&r1=18560&r2=18561&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Alarm.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Alarm.py Mon Dec 31 11:00:43 2007
@@ -46,7 +46,23 @@
             'description' : 'the method used to know if there is a problem',
             'type'        : 'string',
             'mode'        : 'w' },
+        {   'id'          : 'solve_method_id',
+            'description' : 'the method used to solve problems if any.',
+            'type'        : 'string',
+            'mode'        : 'w' },
+        {   'id'          : 'alarm_notification_mode',
+            'description' : 'defines the notification mode of an Alarm.'
+                            'Never, on sense or always.',
+            'type'        : 'selection',
+            'select_variable' : 'getAlarmNotificationModeSelectionList',
+            'mode'        : 'w' },
+        {   'id'          : 'alarm_notification_mode_selection',
+            'description' : 'List of possible values for alarm_notification_mode',
+            'type'        : 'tokens',
+            'default'     : ['always','sense','never'],
+            'mode'        : ''},
     )
 
-    _categories = ( 'group', 'site')
+    _categories = ( 'group', 'site', # XXX Why ?
+                    'destination')
 




More information about the Erp5-report mailing list