Commit f6a256ec authored by Aurel's avatar Aurel

use new API


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40015 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 640ec068
......@@ -548,7 +548,7 @@ class %s(XMLObject):
from Products.ERP5Type.Utils import importLocalDocument
local_product = self.Control_Panel.Products.ERP5Type
app = local_product._p_jar.root()['Application']
importLocalDocument(class_id, document_path=class_path)
importLocalDocument(class_id, path=class_path)
# Clear object cache and reset _aq_dynamic after reload
self._clearCache()
......
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