[Erp5-report] r42823 nicolas.dumazet - /erp5/trunk/products/ERP5Type/ERP5Type.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 31 15:00:31 CET 2011


Author: nicolas.dumazet
Date: Mon Jan 31 15:00:31 2011
New Revision: 42823

URL: http://svn.erp5.org?rev=42823&view=rev
Log:
_aq_reset is now resetDynamicDocuments. But this should be done in interaction
workflows anyway

Modified:
    erp5/trunk/products/ERP5Type/ERP5Type.py

Modified: erp5/trunk/products/ERP5Type/ERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ERP5Type.py?rev=42823&r1=42822&r2=42823&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] Mon Jan 31 15:00:31 2011
@@ -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,



More information about the Erp5-report mailing list