Commit 7a7389a7 authored by Roque's avatar Roque

erp5_officejs: remove hardcoded patch for gadget field

parent 8c987515
......@@ -46,11 +46,6 @@
result["default"] = document[field_id];
}
}
if (result.type === "GadgetField") {
//TODO: this must be done in hateoas script side
result.url = result.gadget_url;
result.renderjs_extra = result.renderjs_extra[0][0];
}
return result;
}
......
......@@ -269,7 +269,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>976.41478.42498.65211</string> </value>
<value> <string>976.42504.22348.43298</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -287,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>1561477012.65</float>
<float>1561538602.13</float>
<string>UTC</string>
</tuple>
</state>
......
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