diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 890a5d9f60268d3324cf94d406f8e7f4a5f447a6..de87a586531b83524e9ece62a0a99ee30209671a 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -836,7 +836,8 @@ class Base( CopyContainer, ptype = self.portal_type klass = self.__class__ aq_key = (ptype, klass) # We do not use _aq_key() here for speed - initializePortalTypeDynamicProperties(self, klass, ptype, aq_key) + initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, \ + self.getPortalObject()) from Products.ERP5Form.PreferenceTool import createPreferenceToolAccessorList createPreferenceToolAccessorList(self.getPortalObject())