Commit 503af257 authored by Yusei Tahara's avatar Yusei Tahara

Clear cache to display new template in action box.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ecca0183
......@@ -3169,7 +3169,9 @@ class Base( CopyContainer,
catalog.unindexObject(self, uid=self.getUid())
self.isIndexable = 0
self.isTemplate = 1
# XXX reset security here
# XXX reset security here
# Clear cache to display new template in action box.
self.portal_caches.clearCacheFactory('erp5_ui_medium')
security.declareProtected(Permissions.ModifyPortalContent,'makeTemplateInstance')
def makeTemplateInstance(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