diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 2bb8c463b4cf33799c9e183fcee8629e5f1240ce..6166c24b7a0ba2e4d494f7a9f0b4f5ed79ffcfdb 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -2092,6 +2092,8 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem): # compare object to see it there is changes new_object = self._objects[path] old_object = installed_item._objects[path] + new_object.sort() + old_object.sort() if new_object != old_object: modified_object_list.update({path : ['Modified', self.getTemplateTypeName()]}) else: # new object