From 0a9c6cab64c00070d864c484bd4619d45ff26f3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 3 Nov 2005 07:52:54 +0000
Subject: [PATCH] remove useless _edit method. updateAppliedRule is now called
 from InteractionWorkflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4210 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/OrderLine.py | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/product/ERP5/Document/OrderLine.py b/product/ERP5/Document/OrderLine.py
index c56a67a6e5..91d1575e32 100755
--- a/product/ERP5/Document/OrderLine.py
+++ b/product/ERP5/Document/OrderLine.py
@@ -61,19 +61,6 @@ class OrderLine(DeliveryLine):
     # Declarative interfaces
     __implements__ = ( Interface.Variated, )
 
-    security.declarePrivate( '_edit' )
-    def _edit(self, REQUEST=None, force_update = 0, **kw):
-      DeliveryLine._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
-      # We must expand our applied rule if needed
-      self.updateAppliedRule() # Actually called on parent
-
-#     security.declarePrivate('_checkConsistency')
-#     def _checkConsistency(self, fixit=0, mapped_value_property_list = ('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'):
       """
         Warning: does not work if it was not catalogued immediately
-- 
2.30.9