From 9ac77c4bf21a14f3140c1b83436c6eede9df1fb2 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 12 Jul 2010 09:33:49 +0000
Subject: [PATCH] use getRootDeliveryValue() instead of deprecated
 getDeliveryValue().

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37035 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Movement.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/Movement.py b/product/ERP5/Document/Movement.py
index d594340da3..d8ef0268da 100644
--- a/product/ERP5/Document/Movement.py
+++ b/product/ERP5/Document/Movement.py
@@ -538,7 +538,7 @@ class Movement(XMLObject, Amount, CompositionMixin, AmountGeneratorMixin):
     """
       Returns the object explanation of this movement.
     """
-    return self.getDeliveryValue()
+    return self.getRootDeliveryValue()
  
   security.declareProtected( Permissions.AccessContentsInformation,
                              'getExplanationTitle')
-- 
2.30.9