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
Léo-Paul Géneau
slapos.core
Commits
fd21430e
Commit
fd21430e
authored
May 21, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delivering a confirmed packing list is not possible
parent
9d833d16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml
...eraction_workflow/scripts/Instance_changePromiseState.xml
+3
-0
master/bt5/vifib_slapos_accounting/bt/revision
master/bt5/vifib_slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml
View file @
fd21430e
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
hosting_subscription = instance.getSpecialiseValue(portal_type="Hosting Subscription")\n
hosting_subscription = instance.getSpecialiseValue(portal_type="Hosting Subscription")\n
person_relative_url = hosting_subscription.getDestinationSection()\n
person_relative_url = hosting_subscription.getDestinationSection()\n
portal = instance.getPortalObject()\n
portal = instance.getPortalObject()\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
\n
\n
# Check if instance is allocated\n
# Check if instance is allocated\n
partition = instance.getAggregate(portal_type="Computer Partition")\n
partition = instance.getAggregate(portal_type="Computer Partition")\n
...
@@ -214,6 +215,8 @@ else:\n
...
@@ -214,6 +215,8 @@ else:\n
elif (state == stopped):\n
elif (state == stopped):\n
delivery.stop()\n
delivery.stop()\n
elif (state == destroyed):\n
elif (state == destroyed):\n
if isTransitionPossible(delivery, "stop"):\n
delivery.stop()\n
delivery.deliver()\n
delivery.deliver()\n
new_delivery = letsclone(cleanup_service_relative_url)\n
new_delivery = letsclone(cleanup_service_relative_url)\n
new_delivery.confirm()\n
new_delivery.confirm()\n
...
...
master/bt5/vifib_slapos_accounting/bt/revision
View file @
fd21430e
14
15
\ 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