Commit 0a9c6cab authored by Jérome Perrin's avatar Jérome Perrin

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
parent f65c398e
...@@ -61,19 +61,6 @@ class OrderLine(DeliveryLine): ...@@ -61,19 +61,6 @@ class OrderLine(DeliveryLine):
# Declarative interfaces # Declarative interfaces
__implements__ = ( Interface.Variated, ) __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'): def applyToOrderLineRelatedMovement(self, portal_type='Simulation Movement', method_id = 'expand'):
""" """
Warning: does not work if it was not catalogued immediately Warning: does not work if it was not catalogued immediately
......
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