Commit 7c387d03 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_gadget_interface_validator: rename field to avoid render graphic in the listbox

parent 3d53f932
......@@ -25,7 +25,7 @@
.push(function (result) {
var i, date, len = result.data.total_rows;
for (i = 0; i < len; i += 1) {
result.data.rows[i].value.validation_state = {
result.data.rows[i].value.status = {
field_gadget_param: {
description: "",
title: "State",
......@@ -39,7 +39,7 @@
gadget_to_check_url: result.data.rows[i].value.url,
summary: true
}),
key: "field_my_validation_state",
key: "field_my_status",
hidden: 0,
type: "GadgetField"
}
......@@ -78,7 +78,7 @@
.push(function (form_gadget) {
var column_list = [
['url', 'Gadget'],
['validation_state', 'State']
['status', 'State']
];
return form_gadget.render({
erp5_document: {"_embedded": {"_view": {
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>977.38881.34981.23125</string> </value>
<value> <string>1006.24986.53991.1365</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1581503610.2</float>
<float>1676465021.23</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