Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
f88d3ac1
Commit
f88d3ac1
authored
2 years ago
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_computer_immobilisation: Use Compute Node Id instead of ID for consistency
parent
35743fb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_computer_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Computer.py
...tTemplateItem/portal_components/document.erp5.Computer.py
+1
-1
bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Compute%20Node.xml
...on/PortalTypeTemplateItem/portal_types/Compute%20Node.xml
+2
-2
No files found.
bt5/erp5_computer_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Computer.py
View file @
f88d3ac1
...
@@ -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"
:
[],
}
}
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_computer_immobilisation/PortalTypeTemplateItem/portal_types/Compute%20Node.xml
View file @
f88d3ac1
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment