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
Arnaud Véron
slapos.core
Commits
f31c4fff
Commit
f31c4fff
authored
May 28, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Immediately deliver, not stop, instance setup delivery.
parent
dc5a9561
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/SalePackingList_deliverInstanceSetup.xml
...vifib_simulation/SalePackingList_deliverInstanceSetup.xml
+2
-2
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
.../vifib_simulation/VifibSalePackingList_postGeneration.xml
+1
-1
master/bt5/vifib_base/bt/revision
master/bt5/vifib_base/bt/revision
+1
-1
No files found.
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/SalePackingList_
stop
InstanceSetup.xml
→
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/SalePackingList_
deliver
InstanceSetup.xml
View file @
f31c4fff
...
@@ -62,8 +62,8 @@ if line.getResource() != portal.portal_preferences.getPreferredInstanceSetupReso
...
@@ -62,8 +62,8 @@ if line.getResource() != portal.portal_preferences.getPreferredInstanceSetupReso
comment = translateString(\'Automatic transition on setup delivery.\')\n
comment = translateString(\'Automatic transition on setup delivery.\')\n
if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n
if portal.portal_workflow.isTransitionPossible(context, \'start\'):\n
context.start(comment=comment)\n
context.start(comment=comment)\n
if portal.portal_workflow.isTransitionPossible(context, \'stop\'):\n
context.stop(comment=comment)\n
context.stop(comment=comment)\n
context.deliver(comment=comment)\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
@@ -72,7 +72,7 @@ if portal.portal_workflow.isTransitionPossible(context, \'stop\'):\n
...
@@ -72,7 +72,7 @@ if portal.portal_workflow.isTransitionPossible(context, \'stop\'):\n
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SalePackingList_
stop
InstanceSetup
</string>
</value>
<value>
<string>
SalePackingList_
deliver
InstanceSetup
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
View file @
f31c4fff
...
@@ -69,7 +69,7 @@ portal = packing_list.getPortalObject()\n
...
@@ -69,7 +69,7 @@ portal = packing_list.getPortalObject()\n
\n
\n
if line.getResource() == portal.portal_preferences.getPreferredInstanceSetupResource():\n
if line.getResource() == portal.portal_preferences.getPreferredInstanceSetupResource():\n
packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))).SalePackingList_
stop
InstanceSetup()\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))).SalePackingList_
deliver
InstanceSetup()\n
\n
\n
# First set the packing_list in the building state\n
# First set the packing_list in the building state\n
packing_list.startBuilding()\n
packing_list.startBuilding()\n
...
...
master/bt5/vifib_base/bt/revision
View file @
f31c4fff
453
454
\ 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