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
Nicolas Wavrant
slapos.core
Commits
841bdb2a
Commit
841bdb2a
authored
Feb 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable balance based check.
Users has no possibility to pay for now.
parent
e9008b25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/Delivery_isDestinationSectionAllowedToRequest.xml
...n_trade/Delivery_isDestinationSectionAllowedToRequest.xml
+12
-9
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/Delivery_isDestinationSectionAllowedToRequest.xml
View file @
841bdb2a
...
@@ -52,15 +52,18 @@
...
@@ -52,15 +52,18 @@
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string
encoding=
"cdata"
>
<![CDATA[
section_uid = context.getSourceSectionUid()\n
return True\n
customer_uid = context.getDestinationSectionUid()\n
\n
simulation_state = context.getPortalCurrentInventoryStateList() + context.getPortalTransitInventoryStateList()\n
# Disabled functionality\n
balance = context.portal_simulation.getInventoryAssetPrice(\n
#section_uid = context.getSourceSectionUid()\n
node_category_strict_membership=\'account_type/asset/receivable\',\n
#customer_uid = context.getDestinationSectionUid()\n
simulation_state=simulation_state,\n
#simulation_state = context.getPortalCurrentInventoryStateList() + context.getPortalTransitInventoryStateList()\n
section_uid=section_uid,\n
#balance = context.portal_simulation.getInventoryAssetPrice(\n
mirror_section_uid=customer_uid)\n
# node_category_strict_membership=\'account_type/asset/receivable\',\n
return balance <= 0.\n
# simulation_state=simulation_state,\n
# section_uid=section_uid,\n
# mirror_section_uid=customer_uid)\n
#return balance <= 0.\n
]]>
</string>
</value>
]]>
</string>
</value>
...
...
master/bt5/vifib_open_trade/bt/revision
View file @
841bdb2a
165
166
\ 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