diff --git a/product/ERP5/mixin/property_recordable.py b/product/ERP5/mixin/property_recordable.py index e450a9e19cba2dd586f6285cbefd61bd0cee86de..2622cefa22c9cd4c803c3d48d8e36c16262d4886 100644 --- a/product/ERP5/mixin/property_recordable.py +++ b/product/ERP5/mixin/property_recordable.py @@ -64,7 +64,6 @@ class PropertyRecordableMixin: # XXX it is better to use getPropertyList only for list type # properties or categories. recorded_property_dict[id] = self.getPropertyList(id) - self.setRecordedPropertyDict(recorded_property_dict) security.declareProtected(Permissions.ModifyPortalContent, 'clearRecordedProperty') @@ -78,8 +77,6 @@ class PropertyRecordableMixin: del(recorded_property_dict[id]) except KeyError: pass - else: - self.setRecordedPropertyDict(recorded_property_dict) security.declareProtected(Permissions.AccessContentsInformation, 'getRecordedPropertyIdList')