Commit da4963cc authored by Łukasz Nowak's avatar Łukasz Nowak

- mark last_expand_simulation_state as future deprecation candidate

 - add prevent_compensation to control compensation possibility on Applied Rule


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28463 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc35f1ab
......@@ -36,6 +36,7 @@ class AppliedRule:
_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 @@ class AppliedRule:
'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', )
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