Commit e8436047 authored by Jérome Perrin's avatar Jérome Perrin

silent log in Movement.isFrozen


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0c9f280a
...@@ -435,7 +435,7 @@ class Movement(XMLObject, Amount): ...@@ -435,7 +435,7 @@ class Movement(XMLObject, Amount):
# XXX Hardcoded # XXX Hardcoded
# Maybe, we should use getPortalCurrentInventoryStateList # Maybe, we should use getPortalCurrentInventoryStateList
# and another portal method for cancelled (and deleted) # and another portal method for cancelled (and deleted)
LOG("Movement, isFrozen", WARNING, "Hardcoded state list") #LOG("Movement, isFrozen", WARNING, "Hardcoded state list")
if self.getSimulationState() in ('stopped', 'delivered', 'cancelled'): if self.getSimulationState() in ('stopped', 'delivered', 'cancelled'):
return 1 return 1
if self._baseIsFrozen() == 0: if self._baseIsFrozen() == 0:
......
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