Commit f998bd29 authored by Guillaume Michon's avatar Guillaume Michon

Added setTitle() method to overwrite Zope one


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e8239775
......@@ -318,6 +318,9 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
manage_propertiesForm = DTMLFile( 'dtml/properties', _dtmldir )
security.declareProtected( Permissions.ModifyPortalContent, 'setTitle' )
def setTitle(self, value):
self._setTitle(value)
self.reindexObject()
security.declareProtected( Permissions.AccessContentsInformation, 'test_dyn' )
def test_dyn(self):
......
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