diff --git a/product/ERP5Type/dynamic/accessor_holder.py b/product/ERP5Type/dynamic/accessor_holder.py index 56b4d1ef965f6f4ab846cddcba1f7abe059c900e..e86a7ff9bc61e51bf8393a7de0c9b3f8240f72b5 100644 --- a/product/ERP5Type/dynamic/accessor_holder.py +++ b/product/ERP5Type/dynamic/accessor_holder.py @@ -46,7 +46,7 @@ from zLOG import LOG, ERROR, INFO class AccessorHolderType(type): _skip_permission_tuple = (Permissions.AccessContentsInformation, Permissions.ModifyPortalContent) - def registerAccessor(cls, + def _next_registerAccessor(cls, accessor, permission): accessor_name = accessor.__name__