Commit aa4945d6 authored by Jérome Perrin's avatar Jérome Perrin

wrong variable name breaks category acquisition



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