[Erp5-report] r28463 - /erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 19 14:23:39 CEST 2009
Author: luke
Date: Wed Aug 19 14:23:38 2009
New Revision: 28463
URL: http://svn.erp5.org?rev=28463&view=rev
Log:
- mark last_expand_simulation_state as future deprecation candidate
- add prevent_compensation to control compensation possibility on Applied Rule
Modified:
erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py
Modified: erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py?rev=28463&r1=28462&r2=28463&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/AppliedRule.py [utf8] Wed Aug 19 14:23:38 2009
@@ -36,6 +36,7 @@
_properties = (
{ 'id' : 'last_expand_simulation_state',
+ # XXX: This property shall be deprecated soon
'description' : 'Contains the id of the simulation state when the '\
'object was last expanded (in order to avoid '\
'recalculation)',
@@ -50,6 +51,12 @@
'type' : 'string',
'mode' : 'w' },
+ { 'id' : 'prevent_compensation',
+ 'description' : 'Controls the fact if compensation is allowed or '
+ 'not in part of tree controlled by Applied Rule',
+ 'type' : 'boolean',
+ 'default' : False,
+ 'mode' : 'w' },
)
_categories = ('specialise', 'causality', 'order', )
More information about the Erp5-report
mailing list