Commit 9d1c0cab authored by Jean-Paul Smets's avatar Jean-Paul Smets

I see no reason to store a sense_value as a generic property of Result in...

I see no reason to store a sense_value as a generic property of Result in CMFActivity. sense_value is really specific to Alarm. And implementation should rather use a cache on the sense() method of Alarm rather th add to the code of CMFActivity some parts which are unrelated to CMFActivity.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18562 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88fd6f45
......@@ -48,12 +48,7 @@ class ActiveProcess:
'type' : 'date',
'default' : None,
'mode' : 'w' },
{ 'id' : 'sense_value',
'description' : 'true if there is a problem',
'type' : 'boolean',
'default' : 0,
'mode' : 'w' },
)
)
_categories = ( 'causality', )
......
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