Commit 4364752c authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use getBaseCategoryList instead of getObjectIds.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@621 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ecf2d1b
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment