From d03e63543496f8a7f5ddf47a02d17ead31593f87 Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Tue, 28 Oct 2008 16:22:13 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/Delivery.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index ce4fdb540e..31fda4497f 100644 --- a/product/ERP5/Document/Delivery.py +++ b/product/ERP5/Document/Delivery.py @@ -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(): -- 2.30.9