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
b8b04a0d
Commit
b8b04a0d
authored
Oct 27, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: drop template_instance_tree
parent
4ae69890
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
...ateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
+6
-6
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
...ents/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
+2
-2
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
...ateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
+2
-2
No files found.
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
View file @
b8b04a0d
...
@@ -850,7 +850,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
...
@@ -850,7 +850,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
def
createInstanceTree
(
self
):
def
createInstanceTree
(
self
):
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
=
self
.
portal
.
instance_tree_module
\
instance_tree
=
self
.
portal
.
instance_tree_module
\
.
template_instance_tree
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
edit
(
instance_tree
.
edit
(
reference
=
"TESTHS-%s"
%
new_id
,
reference
=
"TESTHS-%s"
%
new_id
,
)
)
...
@@ -1074,7 +1074,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
...
@@ -1074,7 +1074,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
def
createInstanceTree
(
self
):
def
createInstanceTree
(
self
):
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
=
self
.
portal
.
instance_tree_module
\
instance_tree
=
self
.
portal
.
instance_tree_module
\
.
template_instance_tree
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
edit
(
instance_tree
.
edit
(
reference
=
"TESTHS-%s"
%
new_id
,
reference
=
"TESTHS-%s"
%
new_id
,
)
)
...
@@ -1764,8 +1764,8 @@ class TestSlapOSCrmMonitoringCheckInstanceInError(SlapOSTestCaseMixinWithAbort):
...
@@ -1764,8 +1764,8 @@ class TestSlapOSCrmMonitoringCheckInstanceInError(SlapOSTestCaseMixinWithAbort):
person
=
self
.
portal
.
person_module
.
template_member
\
person
=
self
.
portal
.
person_module
.
template_member
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
Base_createCloneDocument
(
batch_mode
=
1
)
instance_tree
=
self
.
portal
\
instance_tree
=
self
.
portal
\
.
instance_tree_module
.
template_instance_tree
\
.
instance_tree_module
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
validate
()
instance_tree
.
validate
()
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
.
edit
(
instance_tree
.
edit
(
...
@@ -2018,8 +2018,8 @@ class TestSlaposCrmUpdateSupportRequestState(SlapOSTestCaseMixinWithAbort):
...
@@ -2018,8 +2018,8 @@ class TestSlaposCrmUpdateSupportRequestState(SlapOSTestCaseMixinWithAbort):
person
=
self
.
portal
.
person_module
.
template_member
\
person
=
self
.
portal
.
person_module
.
template_member
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
Base_createCloneDocument
(
batch_mode
=
1
)
instance_tree
=
self
.
portal
\
instance_tree
=
self
.
portal
\
.
instance_tree_module
.
template_instance_tree
\
.
instance_tree_module
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
validate
()
instance_tree
.
validate
()
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
.
edit
(
instance_tree
.
edit
(
...
...
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMRegularisationRequestSkins.py
View file @
b8b04a0d
...
@@ -423,7 +423,7 @@ class TestSlapOSInstanceTree_stopFromRegularisationRequest(
...
@@ -423,7 +423,7 @@ class TestSlapOSInstanceTree_stopFromRegularisationRequest(
def
createInstanceTree
(
self
,
project
):
def
createInstanceTree
(
self
,
project
):
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
=
self
.
portal
.
instance_tree_module
\
instance_tree
=
self
.
portal
.
instance_tree_module
\
.
template_instance_tree
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
edit
(
instance_tree
.
edit
(
reference
=
"TESTHS-%s"
%
new_id
,
reference
=
"TESTHS-%s"
%
new_id
,
follow_up_value
=
project
follow_up_value
=
project
...
@@ -499,7 +499,7 @@ class TestSlapOSInstanceTree_deleteFromRegularisationRequest(
...
@@ -499,7 +499,7 @@ class TestSlapOSInstanceTree_deleteFromRegularisationRequest(
def
createInstanceTree
(
self
,
project
):
def
createInstanceTree
(
self
,
project
):
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
=
self
.
portal
.
instance_tree_module
\
instance_tree
=
self
.
portal
.
instance_tree_module
\
.
template_instance_tree
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
edit
(
instance_tree
.
edit
(
reference
=
"TESTHS-%s"
%
new_id
,
reference
=
"TESTHS-%s"
%
new_id
,
follow_up_value
=
project
follow_up_value
=
project
...
...
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
View file @
b8b04a0d
...
@@ -60,8 +60,8 @@ class TestCRMSkinsMixin(SlapOSTestCaseMixinWithAbort):
...
@@ -60,8 +60,8 @@ class TestCRMSkinsMixin(SlapOSTestCaseMixinWithAbort):
person
=
self
.
portal
.
person_module
.
template_member
\
person
=
self
.
portal
.
person_module
.
template_member
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
Base_createCloneDocument
(
batch_mode
=
1
)
instance_tree
=
self
.
portal
\
instance_tree
=
self
.
portal
\
.
instance_tree_module
.
template_instance_tree
\
.
instance_tree_module
\
.
Base_createCloneDocument
(
batch_mode
=
1
)
.
newContent
(
portal_type
=
"Instance Tree"
)
instance_tree
.
validate
()
instance_tree
.
validate
()
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
instance_tree
.
edit
(
instance_tree
.
edit
(
...
...
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