Commit 9c9dcdc6 authored by Sebastien Robin's avatar Sebastien Robin

initializePortalTypeDynamicProperties must be called with 5 parameters

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23605 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0b440fe
......@@ -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())
......
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