From 4364752cad4361b70f8fd9fabc7ac2c7ed584757 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 26 Mar 2004 17:53:59 +0000 Subject: [PATCH] Use getBaseCategoryList instead of getObjectIds. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@621 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Amount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Amount.py b/product/ERP5/Document/Amount.py index 2fce192076..5986ea9b6b 100755 --- a/product/ERP5/Document/Amount.py +++ b/product/ERP5/Document/Amount.py @@ -162,7 +162,7 @@ class Amount(Base, Variated): try: return self.getDefaultResourceValue().getVariationBaseCategoryList() except: - return self.portal_categories.getObjectIds() + return self.portal_categories.getBaseCategoryList() security.declareProtected(Permissions.AccessContentsInformation, 'getQuantityUnitRangeItemList') -- 2.30.9