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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.core
Commits
75deba4c
Commit
75deba4c
authored
Aug 21, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialise causality state only when needed.
parent
c0b85c9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibPaymentTransaction_postGeneration.xml
...fib_simulation/VifibPaymentTransaction_postGeneration.xml
+3
-2
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/VifibPaymentTransaction_postGeneration.xml
View file @
75deba4c
...
@@ -58,8 +58,9 @@ payment_transaction = context\n
...
@@ -58,8 +58,9 @@ payment_transaction = context\n
if payment_transaction.getSimulationState() == "draft":\n
if payment_transaction.getSimulationState() == "draft":\n
payment_transaction.plan(comment=translateString("Initialised by Delivery Builder."))\n
payment_transaction.plan(comment=translateString("Initialised by Delivery Builder."))\n
\n
\n
# First set the payment transaction in the building state on the causality workflow\n
if payment_transaction.getCausalityState() == "draft":\n
payment_transaction.startBuilding()\n
# First set the payment transaction in the building state on the causality workflow\n
payment_transaction.startBuilding()\n
\n
\n
# update casuality from movements\n
# update casuality from movements\n
causality_list = payment_transaction.getCausalityList()\n
causality_list = payment_transaction.getCausalityList()\n
...
...
master/bt5/vifib_base/bt/revision
View file @
75deba4c
469
470
\ 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