Commit a3f104ec authored by Jérome Perrin's avatar Jérome Perrin

Alarms:

 - make alarms configurable using a configuration form
 - use edit worklfow to track modifications
 - give same priority to custom report and default report actions to have same
   tab ordering


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36393 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 17b0d8b6
...@@ -252,6 +252,7 @@ class Alarm(XMLObject, PeriodicityMixin): ...@@ -252,6 +252,7 @@ class Alarm(XMLObject, PeriodicityMixin):
, PropertySheet.Periodicity , PropertySheet.Periodicity
, PropertySheet.Document , PropertySheet.Document
, PropertySheet.Task , PropertySheet.Task
, PropertySheet.Configurable
, PropertySheet.Alarm , PropertySheet.Alarm
) )
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>configuration</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>6.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configuration</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/${object/getConfigurationFormId}</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>object/getConfigurationFormId</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>priority</string> </key> <key> <string>priority</string> </key>
<value> <float>5.0</float> </value> <value> <float>3.0</float> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
<string>my_active_sense_method_id</string> <string>my_active_sense_method_id</string>
<string>my_sense_method_id</string> <string>my_sense_method_id</string>
<string>my_solve_method_id</string> <string>my_solve_method_id</string>
<string>my_configuration_form_id</string>
<string>my_enabled</string> <string>my_enabled</string>
<string>my_alarm_date</string> <string>my_alarm_date</string>
</list> </list>
......
1615 1616
\ No newline at end of file \ No newline at end of file
Action Information | view Action Information | view
Alarm Tool | alarm_report Alarm Tool | alarm_report
Alarm Tool | view Alarm Tool | view
Alarm | configuration
Alarm | custom_report Alarm | custom_report
Alarm | notification Alarm | notification
Alarm | periodicity Alarm | periodicity
......
Action Information | base_type_interaction_workflow Action Information | base_type_interaction_workflow
Alarm | edit_workflow
Base Category | edit_workflow Base Category | edit_workflow
Base Type | base_type_interaction_workflow Base Type | base_type_interaction_workflow
Category | edit_workflow Category | edit_workflow
......
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