Commit 5c0dce20 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_computer_immobilisation: Use Compute Node Id instead of ID for consistency

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