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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
8ec82e6a
Commit
8ec82e6a
authored
Jan 05, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not fail in case if movement is None.
parent
55827eff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/Service_getPriceCalculationOperandDict.xml
...fib_open_trade/Service_getPriceCalculationOperandDict.xml
+2
-0
master/bt5/vifib_open_trade/bt/revision
master/bt5/vifib_open_trade/bt/revision
+1
-1
No files found.
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/Service_getPriceCalculationOperandDict.xml
View file @
8ec82e6a
...
@@ -51,6 +51,8 @@
...
@@ -51,6 +51,8 @@
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
def getRelatedTradeConditionList(trade_condition):\n
<value>
<string>
def getRelatedTradeConditionList(trade_condition):\n
if trade_condition is None:\n
return []\n
related_trade_condition_list = trade_condition.getSpecialiseValueList(\n
related_trade_condition_list = trade_condition.getSpecialiseValueList(\n
portal_type=(\'Sale Trade Condition\', \'Purchase Trade Condition\'))\n
portal_type=(\'Sale Trade Condition\', \'Purchase Trade Condition\'))\n
for related_trade_condition in trade_condition.getSpecialiseValueList(\n
for related_trade_condition in trade_condition.getSpecialiseValueList(\n
...
...
master/bt5/vifib_open_trade/bt/revision
View file @
8ec82e6a
138
139
\ 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