Commit 2910a940 authored by Romain Courteaud's avatar Romain Courteaud

erp5_officejs: WIP try to export field sandbox

parent f08ed7a8
......@@ -45,6 +45,7 @@ def getFieldRawProperties(field, meta_type=None, key=None, key_prefix=None):
if gadget_field_patch:
try:
result["values"]["url"] = result["values"]["gadget_url"]
result["values"]["js_sandbox"] = result["values"]["js_sandbox"]
result["values"]["renderjs_extra"] = result["values"]["renderjs_extra"][0][0]
except (ValueError, KeyError, IndexError):
log("error while patching form gadget list definition")
......
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