Commit eef2bf1d authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

bt5_config: Force reset of Document properties

parent ec01861e
...@@ -2321,6 +2321,8 @@ class ERP5Generator(PortalGenerator): ...@@ -2321,6 +2321,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