Commit 5c432c99 authored by Rafael Monnerat's avatar Rafael Monnerat

fixup! erp5_computer_immobilisation: Include Compute Node as User Type Group

parent 598bdade
...@@ -175,7 +175,7 @@ def asSecurityGroupIdSet(category_dict, key_sort=sorted): ...@@ -175,7 +175,7 @@ def asSecurityGroupIdSet(category_dict, key_sort=sorted):
except KeyError: except KeyError:
continue continue
for category_value, is_child_category in category_list: for category_value, is_child_category in category_list:
if category_value.getPortalType() in self.getPortalUserTypeList(): if category_value.getPortalType() in category_value.getPortalUserTypeList():
user_name = category_value.Person_getUserId() user_name = category_value.Person_getUserId()
if user_name is not None: if user_name is not None:
user_list.append(user_name) user_list.append(user_name)
......
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