Commit d03e6354 authored by Yusei Tahara's avatar Yusei Tahara

Delivery_zIsDivergent already does not exist. The fast option

will be ignored.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24368 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06e5e634
......@@ -312,12 +312,8 @@ class Delivery(XMLObject, ImmobilisationDelivery):
emit targetUnreachable !
"""
# Delivery_zIsDivergent only works when object and simulation is
# reindexed, so if an user change the delivery, he must wait
# until everything is indexed, this is not acceptable for users
# so we should not use it by default (and may be we should remove)
if fast==1 and len(self.Delivery_zIsDivergent(uid=self.getUid())) > 0:
return 1
## Note that fast option was removed. Now, fast=1 is ignored.
# Check if the total quantity equals the total of each simulation movement quantity
for movement in self.getMovementList():
if movement.isDivergent():
......
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