Commit 9f21ac3a authored by Nicolas Dumazet's avatar Nicolas Dumazet

_aq_reset is now resetDynamicDocuments. But this should be done in interaction

workflows anyway


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42823 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0651b01
......@@ -516,8 +516,9 @@ class ERP5TypeInformation(XMLObject,
previous_state = [getattr(aq_base(self), x) for x in property_list]
result = XMLObject._edit(self, *args, **kw)
if previous_state != [getattr(aq_base(self), x) for x in property_list]:
from Products.ERP5Type.Base import _aq_reset
_aq_reset()
# XXX very dubious, isnt it done in interaction workflows?
# most likely, only base_category_list is missing
self.portal_types.resetDynamicDocuments()
return result
security.declareProtected(Permissions.AccessContentsInformation,
......
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