Commit 264ed6e6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Comments added to help the cleanup of this category.

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36062 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8d5641f
......@@ -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
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