Commit b89b54e3 authored by Guillaume Michon's avatar Guillaume Michon

Added delivery_ratio and delivery_error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2884 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d8b193b1
......@@ -54,6 +54,17 @@ class Simulation:
'description' : 'If set to 1, self must be associated to a delivery',
'type' : 'boolean',
'mode' : 'w' },
{ 'id' : 'delivery_ratio',
'description' : 'ratio to apply on the quantity property of the corresponding delivery to obtain the current quantity',
'default' : 1.,
'type' : 'float',
'mode' : 'w' },
{ 'id' : 'delivery_error',
'description' : 'correction to make the match between delivery quantity and simulation quantity consistent',
'type' : 'float',
'mode' : 'w' },
)
_categories = ('order', 'delivery')
......
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