Commit c3791433 authored by Nicolas Delaby's avatar Nicolas Delaby

Regenerate Accessors after BaseCategory creation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21507 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5bb9d4b6
...@@ -31,6 +31,7 @@ from AccessControl import ClassSecurityInfo ...@@ -31,6 +31,7 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Interface, Permissions, PropertySheet from Products.ERP5Type import Interface, Permissions, PropertySheet
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Base import _aq_reset
from zLOG import LOG from zLOG import LOG
...@@ -68,3 +69,9 @@ class BaseCategory(CMFBaseCategory, XMLObject): ...@@ -68,3 +69,9 @@ class BaseCategory(CMFBaseCategory, XMLObject):
#result.extend(self.portal_catalog()) #result.extend(self.portal_catalog())
return result return result
def manage_afterAdd(self, item, container):
"""
Reset Accessors
"""
_aq_reset()
CMFBaseCategory.manage_afterAdd(self, item, container)
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