Commit 88fd6f45 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added method resolution method as well as notification mode properties.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18561 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f6d4d5b8
......@@ -46,7 +46,23 @@ class Alarm:
'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')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment