Commit 4d141518 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Xiaowu Zhang

ERP5Configurator: Allow to set up more properties for alarms

parent b5371d86
...@@ -63,14 +63,19 @@ class AlarmConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -63,14 +63,19 @@ class AlarmConfiguratorItem(ConfiguratorItemMixin, XMLObject):
error_list = [] error_list = []
property_dict = { property_dict = {
"active_sense_method_id" : self.getActiveSenseMethodId(), "active_sense_method_id" : self.getActiveSenseMethodId(),
"destination_list" : self.getDesitnationList(),
"periodicity_hour_list" : self.getPeriodicityHourList(), "periodicity_hour_list" : self.getPeriodicityHourList(),
"periodicity_minute_list": self.getPeriodicityMinuteList(), "periodicity_minute_list": self.getPeriodicityMinuteList(),
"periodicity_minute_frequency": self.getPeriodicityMinuteFrequency(), "periodicity_minute_frequency": self.getPeriodicityMinuteFrequency(),
"periodicity_week_list": self.getPeriodicityWeekList(),
"periodicity_week_day_list": self.getPeriodicityWeeDaykList(),
"periodicity_week_frequency": self.getPeriodicityWeekFrequency(),
"periodicity_month_list": self.getPeriodicityMonthList(), "periodicity_month_list": self.getPeriodicityMonthList(),
"periodicity_month_day_list": self.getPeriodicityMonthDayList(), "periodicity_month_day_list": self.getPeriodicityMonthDayList(),
"periodicity_start_date": DateTime() - 1, "periodicity_start_date": DateTime() - 1,
#"periodicity_stop_date": self.getPeriodicityStopDate(), #"periodicity_stop_date": self.getPeriodicityStopDate(),
"periodicity_week_list": self.getPeriodicityWeekList(), "periodicity_week_list": self.getPeriodicityWeekList(),
"report_method_id": self.getReportMethodId(),
} }
alarm_id = self.getId() alarm_id = self.getId()
......
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