Commit ef3b67c8 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Force reset of Document properties

parent fd8b64c3
...@@ -2385,6 +2385,8 @@ class ERP5Generator(PortalGenerator): ...@@ -2385,6 +2385,8 @@ class ERP5Generator(PortalGenerator):
self.setupWorkflow(p) self.setupWorkflow(p)
self.setupERP5Core(p,**kw) self.setupERP5Core(p,**kw)
self.setupERP5Promise(p,**kw) self.setupERP5Promise(p,**kw)
# XXX: Force setting of properties setter and getters after bootstrap
p.portal_types.resetDynamicDocuments()
# Make sure the cache is initialized # Make sure the cache is initialized
p.portal_caches.updateCache() p.portal_caches.updateCache()
......
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