Commit 970b98c1 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added code (for information) of future implementation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26597 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ff785b7
......@@ -501,6 +501,11 @@ class Movement(XMLObject, Amount):
if self._baseIsFrozen() == 0:
self._baseSetFrozen(None)
return self._baseGetFrozen() or 0
# Future implementation - for information
path = self.getCausalityValue()
if path is not None:
return self.getSimulationState() in path.getCompletedSimulationStateList()
return False
security.declareProtected( Permissions.AccessContentsInformation,
'getExplanation')
......
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