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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
bfd766ff
Commit
bfd766ff
authored
Feb 23, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix and protect.
parent
aabb083d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
master/bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
...bt5/vifib_upgrader/ExtensionTemplateItem/VifibUpgrader.py
+1
-1
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SalePackingList_setArrow.xml
.../portal_skins/vifib_upgrader/SalePackingList_setArrow.xml
+2
-1
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 @
bfd766ff
...
@@ -8,7 +8,7 @@ def DeliveryLineSetZeroPriceAndOrUpdateAppliedRule(self):
...
@@ -8,7 +8,7 @@ def DeliveryLineSetZeroPriceAndOrUpdateAppliedRule(self):
specialise
=
self
.
getParentValue
().
getSpecialise
()
specialise
=
self
.
getParentValue
().
getSpecialise
()
if
common_specialise
!=
specialise
:
if
common_specialise
!=
specialise
:
self
.
getParentValue
().
setSpecialise
(
common_specialise
)
self
.
getParentValue
().
setSpecialise
(
common_specialise
)
self
.
SalePackingList_setArrow
()
self
.
getParentValue
().
SalePackingList_setArrow
()
self
.
setPrice
(
0.0
)
self
.
setPrice
(
0.0
)
if
self
.
getSimulationState
()
==
'cancelled'
:
if
self
.
getSimulationState
()
==
'cancelled'
:
# force no simulation
# force no simulation
...
...
master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/SalePackingList_setArrow.xml
View file @
bfd766ff
...
@@ -50,7 +50,8 @@
...
@@ -50,7 +50,8 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
source, destination, source_section, destination_section = context.getSource(), context.getDestination(), context.getSourceSection(), context.getDestinationSection()\n
<value>
<string>
assert context.getPortalType() in context.getPortalDeliveryTypeList()\n
source, destination, source_section, destination_section = context.getSource(), context.getDestination(), context.getSourceSection(), context.getDestinationSection()\n
\n
\n
if not(source is None and destination is None and source_section is None and destination_section is None):\n
if not(source is None and destination is None and source_section is None and destination_section is None):\n
# nothing to do\n
# nothing to do\n
...
...
master/bt5/vifib_upgrader/bt/revision
View file @
bfd766ff
46
47
\ 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