[Erp5-report] r18562 - /erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 31 11:03:30 CET 2007
Author: jp
Date: Mon Dec 31 11:03:30 2007
New Revision: 18562
URL: http://svn.erp5.org?rev=18562&view=rev
Log:
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.
Modified:
erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py
Modified: erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py?rev=18562&r1=18561&r2=18562&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py (original)
+++ erp5/trunk/products/CMFActivity/PropertySheet/ActiveProcess.py Mon Dec 31 11:03:30 2007
@@ -48,12 +48,7 @@
'type' : 'date',
'default' : None,
'mode' : 'w' },
- { 'id' : 'sense_value',
- 'description' : 'true if there is a problem',
- 'type' : 'boolean',
- 'default' : 0,
- 'mode' : 'w' },
- )
+ )
_categories = ( 'causality', )
More information about the Erp5-report
mailing list