Commit 6a799342 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added checkConsistency


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1228 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16f7e4f9
...@@ -166,7 +166,13 @@ Une ligne tarifaire.""" ...@@ -166,7 +166,13 @@ Une ligne tarifaire."""
self[k].flushActivity(invoke=0) self[k].flushActivity(invoke=0)
self[k].immediateReindexObject() # We are forced to do this is url is changed (not uid) self[k].immediateReindexObject() # We are forced to do this is url is changed (not uid)
self._delObject(k) 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'): def applyToOrderLineRelatedMovement(self, portal_type='Simulation Movement', method_id = 'expand'):
""" """
......
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