diff --git a/product/ERP5/PropertySheet/Simulation.py b/product/ERP5/PropertySheet/Simulation.py index 4b898806515dffbb2c252b996a816a437d2ab232..c2b8832f7736122a7f9d819e322a034d8b9badd4 100644 --- a/product/ERP5/PropertySheet/Simulation.py +++ b/product/ERP5/PropertySheet/Simulation.py @@ -29,20 +29,24 @@ class Simulation: """ - Attributes used in the optimisation of the simulation + Attributes used in the optimisation of the simulation + + TODO: + - should all categories which are propagatable in simulation + be defined here or elsewhere (movement, another property sheets) """ _properties = ( # Change of dates and quantities - { 'id' : 'quantity_frozen', + { 'id' : 'quantity_frozen', # XXX-JPS Legacy ideas, not used 'description' : 'If set to 1, the quantity can not be changed', 'type' : 'boolean', 'mode' : 'w' }, - { 'id' : 'start_date_frozen', + { 'id' : 'start_date_frozen', # XXX-JPS Legacy ideas, not used 'description' : 'If set to 1, the start date can not be changed', 'type' : 'boolean', 'mode' : 'w' }, - { 'id' : 'stop_date_frozen', + { 'id' : 'stop_date_frozen', # XXX-JPS Legacy ideas, not used 'description' : 'If set to 1, the stop date can not be changed', 'type' : 'boolean', 'mode' : 'w' }, @@ -52,7 +56,7 @@ class Simulation: 'default' : 1., 'type' : 'float', 'mode' : 'w' }, - { 'id' : 'order_ratio', + { 'id' : 'order_ratio', # XXX-JPS Legacy ideas, not used 'description' : 'ratio to apply on the quantity property of the' \ 'corresponding order to obtain the current quantity', 'default' : 1., @@ -65,4 +69,8 @@ class Simulation: 'mode' : 'w' }, ) - _categories = ('order', 'delivery', 'delivery_mode', 'incoterm', 'payment_mode', 'solver', 'specialise', 'property_mapping') + _categories = ('order', 'delivery', 'delivery_mode', 'incoterm', 'payment_mode', 'solver', + 'specialise', + 'property_mapping', # XXX-JPS I doubt that this is really required (here) + 'causality' # this is required really + ) \ No newline at end of file