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
0
Merge Requests
0
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
Ophélie Gagnard
slapos.core
Commits
1f6ff692
Commit
1f6ff692
authored
May 31, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable interaction in the whole migration.
parent
384c08de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
...bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
+2
-4
master/bt5/vifib_upgrader/bt/revision
master/bt5/vifib_upgrader/bt/revision
+1
-1
No files found.
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
View file @
1f6ff692
...
...
@@ -91,6 +91,7 @@ def fixSaleOrder(slap_document):
sale_packing_list
.
getParentValue
().
deleteContent
(
sale_packing_list
.
getId
())
return
new_sale_order
.
contentValues
(
portal_type
=
'Sale Order Line'
)[
0
]
@
WorkflowMethod
.
disable
def
SlapDocument_migrateSlapState
(
self
):
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
...
...
@@ -149,10 +150,7 @@ def SlapDocument_migrateSlapState(self):
assert
(
slap_document
.
getDestinationSection
()
==
explanation_delivery_line
.
getDestinationSectionValue
().
getRelativeUrl
())
else
:
hosting_subscription
=
explanation_delivery_line
.
getAggregateValue
(
portal_type
=
'Hosting Subscription'
)
@
WorkflowMethod
.
disable
def
edit
(
slap_document
,
**
kw
):
slap_document
.
edit
(
**
kw
)
edit
(
slap_document
,
slap_document
.
edit
(
specialise_value
=
hosting_subscription
,
root_software_release_url
=
explanation_delivery_line
.
getAggregateValue
(
portal_type
=
'Software Release'
).
getUrlString
()
)
...
...
master/bt5/vifib_upgrader/bt/revision
View file @
1f6ff692
111
\ No newline at end of file
112
\ 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