From 2c53e406a4ec4810ba704a14f3a094d4cc586770 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Tue, 11 Jul 2006 08:04:36 +0000
Subject: [PATCH] Use getExplanationUid instead of getDestinationUid.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8372 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Extensions/InventoryBrain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Extensions/InventoryBrain.py b/product/ERP5/Extensions/InventoryBrain.py
index 75d0d07c7f..0ac1a27b6c 100644
--- a/product/ERP5/Extensions/InventoryBrain.py
+++ b/product/ERP5/Extensions/InventoryBrain.py
@@ -136,7 +136,7 @@ class InventoryListBrain(ZSQLBrain):
     Return the quantity of the current delivery for a resource
     """
     total_kw = {
-      'explanation_uid': self.getDeliveryUid(),
+      'explanation_uid': self.getExplanationUid(),
       'resource_uid': self.resource_uid,
       'variation_text': self.variation_text,
     }
-- 
2.30.9