Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
92c9e11d
Commit
92c9e11d
authored
Jul 25, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slave instance should be query as same as Software Instance.
parent
2760b116
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/OpenSaleOrderLine_getSoftwareInstanceList.xml
..._open_trade/OpenSaleOrderLine_getSoftwareInstanceList.xml
+1
-1
master/bt5/vifib_open_trade/bt/revision
master/bt5/vifib_open_trade/bt/revision
+1
-1
No files found.
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/OpenSaleOrderLine_getSoftwareInstanceList.xml
View file @
92c9e11d
...
@@ -67,7 +67,7 @@ order_line_list = context.portal_catalog( \n
...
@@ -67,7 +67,7 @@ order_line_list = context.portal_catalog( \n
\n
\n
portal_type_list = ["Software Instance", "Slave Instance"]\n
portal_type_list = ["Software Instance", "Slave Instance"]\n
result = [x.getAggregateValue(portal_type=portal_type_list) for x in line_list]\n
result = [x.getAggregateValue(portal_type=portal_type_list) for x in line_list]\n
result.extend([x.getAggregateValue(portal_type=
"Software Instance"
) for x in order_line_list])\n
result.extend([x.getAggregateValue(portal_type=
portal_type_list
) for x in order_line_list])\n
# result.extend([x.getObject() for x in order_line_list])\n
# result.extend([x.getObject() for x in order_line_list])\n
return result\n
return result\n
</string>
</value>
</string>
</value>
...
...
master/bt5/vifib_open_trade/bt/revision
View file @
92c9e11d
91
92
\ No newline at end of file
\ No newline at end of file
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