Commit 4fa77cb0 authored by Jérome Perrin's avatar Jérome Perrin

this has been moved to preference tool in 36176


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36302 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 43fefe33
......@@ -926,10 +926,6 @@ class Base( CopyContainer,
# Generate portal_type methods
if aq_key not in Base.aq_portal_type:
if ptype == 'Preference':
# XXX-JPS this should be moved to Preference class
from Products.ERP5Form.PreferenceTool import updatePreferenceClassPropertySheetList
updatePreferenceClassPropertySheetList()
initializePortalTypeDynamicProperties(self, klass, ptype, aq_key, portal)
generated = True
......
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