Commit 97d7ff21 authored by Jérome Perrin's avatar Jérome Perrin

acquisition_object_id should not be acquired, we only check if the context...

acquisition_object_id should not be acquired, we only check if the context object have a subobject with id acquisition_object_id



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8792 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d020bf4b
......@@ -879,7 +879,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
return result
# First we look at local ids
for object_id in base_category_value.getAcquisitionObjectIdList():
my_acquisition_object = getattr(context,object_id,None)
my_acquisition_object = context._getOb(object_id, None)
if my_acquisition_object is not None:
#my_acquisition_object_path = my_acquisition_object.getPhysicalPath()
#if my_acquisition_object_path in acquired_object_dict:
......
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