Commit 5ac72555 authored by Nicolas Dumazet's avatar Nicolas Dumazet

portaltype classes remove the need for ERP5Type.Document.*


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39368 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4ba2205
...@@ -59,6 +59,7 @@ class Preference( Folder ): ...@@ -59,6 +59,7 @@ class Preference( Folder ):
( PropertySheet.Base ( PropertySheet.Base
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.DublinCore , PropertySheet.DublinCore
, PropertySheet.Preference
) )
# Declarative security # Declarative security
......
...@@ -53,9 +53,7 @@ class Priority: ...@@ -53,9 +53,7 @@ class Priority:
USER = 3 USER = 3
def updatePreferenceClassPropertySheetList(): def updatePreferenceClassPropertySheetList():
# The Preference class should be imported from the common location from Products.ERP5Form.Document.Preference import Preference
# in ERP5Type since it could be overloaded in another product
from Products.ERP5Type.Document.Preference import Preference
# 'Static' property sheets defined on the class # 'Static' property sheets defined on the class
class_property_sheet_list = Preference.property_sheets class_property_sheet_list = Preference.property_sheets
# Time to lookup for preferences defined on other modules # Time to lookup for preferences defined on other modules
......
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