From 6a799342bf4262e3f3a870a99aac6dda957c2ef4 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sat, 17 Jul 2004 08:27:23 +0000
Subject: [PATCH] Added checkConsistency

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1228 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/OrderLine.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Document/OrderLine.py b/product/ERP5/Document/OrderLine.py
index 254d0777f0..7c9b464af6 100755
--- a/product/ERP5/Document/OrderLine.py
+++ b/product/ERP5/Document/OrderLine.py
@@ -166,7 +166,13 @@ Une ligne tarifaire."""
             self[k].flushActivity(invoke=0)
             self[k].immediateReindexObject() # We are forced to do this is url is changed (not uid)
             self._delObject(k)
-
+            
+    security.declarePrivate('_checkConsistency')
+    def _checkConsistency(self, fixit=0, mapped_value_property_list = ('target_quantity', 'price')):
+      """
+        Check the constitency of transformation elements
+      """
+      return DeliveryLine._checkConsistency(self, fixit=fixit, mapped_value_property_list=mapped_value_property_list)
 
     def applyToOrderLineRelatedMovement(self, portal_type='Simulation Movement', method_id = 'expand'):
       """
-- 
2.30.9