Commit f88d3ac1 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

erp5_computer_immobilisation: Use Compute Node Id instead of ID for consistency

parent 35743fb4
......@@ -73,7 +73,7 @@ class Computer(Machine, JSONType):
).absolute_url()
+ "/getTextContent",
"portal_type": "Compute Node",
"id": self.getReference().decode("UTF-8"),
"compute_node_id": self.getReference().decode("UTF-8"),
"title": self.getTitle().decode("UTF-8"),
"compute_partition_list": [],
}
......
......@@ -63,8 +63,8 @@
"const": "Compute Node",\n
"type": "string"\n
},\n
"id": {\n
"title": "ID",\n
"compute_node_id": {\n
"title": "Compute Node ID",\n
"type": "string",\n
"description": "Unique Id of the object. It is not editable."\n
},\n
......
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