Commit bf985ab7 authored by Sebastien Robin's avatar Sebastien Robin

added some methods from ERP5Base to cps documents


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@335 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 59eddc71
......@@ -25,6 +25,7 @@ from Products.ERP5Type.Document.Folder import Folder
from Products.CMFCore.CMFCorePermissions import View
from Products.CMFCore.CMFCorePermissions import ModifyPortalContent
from Products.CMFCore.CMFCorePermissions import ViewManagementScreens
from Products.CMFCore.utils import getToolByName
from zLOG import LOG
# First we should make ProxyBase a subclass of Base
......
......@@ -95,4 +95,6 @@ class PatchedCPSDocument(CPSDocument):
CPSDocument.getProperty = PatchedCPSDocument.getProperty
CPSDocument._propertyMap = PatchedCPSDocument._propertyMap
CPSDocument.setProperty = Base.setProperty
CPSDocument._setProperty = Base._setProperty
CPSDocument.asXML = Base.asXML
CPSDocument._edit = Base._edit
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