From aed987fc5ddfec71b8c35f6cc87492684d4248f7 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 16 Apr 2010 12:40:13 +0000 Subject: [PATCH] use getExplanationValue() instead of getParentValue() to get the delivery. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34622 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/SimulationMovement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/SimulationMovement.py b/product/ERP5/Document/SimulationMovement.py index d3e95bcdb4..6d4859b039 100644 --- a/product/ERP5/Document/SimulationMovement.py +++ b/product/ERP5/Document/SimulationMovement.py @@ -561,7 +561,7 @@ class SimulationMovement(Movement, PropertyRecordableMixin): return False # related movement is not delivered yet business_path_movement_delivery_document = \ - business_path_movement_delivery.getParentValue() + business_path_movement_delivery.getExplanationValue() # here we can optimise somehow, as # business_path_movement_delivery_document would repeat if not successor_related.isCompleted( -- 2.30.9