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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
8ca0f757
Commit
8ca0f757
authored
Aug 20, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: Don't display cancelled Upgrade decisions
parent
33d31f69
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
206 additions
and
48 deletions
+206
-48
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/Base_getOpenRelatedTicketList.py
...ns/slapos_crm_monitoring/Base_getOpenRelatedTicketList.py
+2
-1
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
...ateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
+204
-47
No files found.
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/Base_getOpenRelatedTicketList.py
View file @
8ca0f757
...
@@ -24,7 +24,8 @@ if 'limit' not in kw:
...
@@ -24,7 +24,8 @@ if 'limit' not in kw:
result_list
=
[]
result_list
=
[]
for
document
in
portal
.
portal_catalog
(
query
=
query
,
**
kw
):
for
document
in
portal
.
portal_catalog
(
query
=
query
,
**
kw
):
if
document
.
getPortalType
()
==
"Upgrade Decision Line"
:
if
document
.
getPortalType
()
==
"Upgrade Decision Line"
:
result_list
.
append
(
document
.
getParentValue
())
if
document
.
getParentValue
().
getSimulationState
()
!=
'cancelled'
:
result_list
.
append
(
document
.
getParentValue
())
continue
continue
result_list
.
append
(
document
)
result_list
.
append
(
document
)
return
result_list
return
result_list
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
View file @
8ca0f757
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