diff --git a/product/ERP5Type/dynamic/portal_type_class.py b/product/ERP5Type/dynamic/portal_type_class.py index 51351349b9d6b0d7b534d25d555323b667eaa5be..fcbbf0bab7fbf83d9bf21e218133442859325b2d 100644 --- a/product/ERP5Type/dynamic/portal_type_class.py +++ b/product/ERP5Type/dynamic/portal_type_class.py @@ -395,6 +395,7 @@ def synchronizeDynamicModules(context, force=False): # stored in WorkflowMethod objects: our generation of workflow # methods adds/registers/wraps existing methods, but does not # remove old chains. Do it now. + resetRegisteredWorkflowMethod() # Some method generations are based on portal methods, and portal # methods cache results. So it is safer to invalidate the cache.