From b89b54e35e9aa4f0a36e59a18e807d662b039819 Mon Sep 17 00:00:00 2001
From: Guillaume Michon <guillaume@nexedi.com>
Date: Mon, 18 Apr 2005 06:03:02 +0000
Subject: [PATCH] Added delivery_ratio and delivery_error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2884 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Simulation.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/product/ERP5/PropertySheet/Simulation.py b/product/ERP5/PropertySheet/Simulation.py
index b1886cceb6..f73d4e3487 100755
--- a/product/ERP5/PropertySheet/Simulation.py
+++ b/product/ERP5/PropertySheet/Simulation.py
@@ -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')
-- 
2.30.9