From 31e4a1e4fa8d83bf0463ab9d370483c23940fba0 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 8 Sep 2006 13:38:39 +0000
Subject: [PATCH] context parameter was missing in getPrice

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

diff --git a/product/ERP5/Document/Item.py b/product/ERP5/Document/Item.py
index 2d6f0f7f7b..5d7fbab7c1 100644
--- a/product/ERP5/Document/Item.py
+++ b/product/ERP5/Document/Item.py
@@ -89,7 +89,7 @@ class Item(XMLObject, Amount, ImmobilisableItem):
         """
         return XMLObject.generateNewId(self, id_group=id_group, default=default, method=method)
 
-    def getPrice(self,**kw):
+    def getPrice(self,context=None,**kw):
       """
         Get the Price in the context.
 
-- 
2.30.9