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
d932e162
Commit
d932e162
authored
12 years ago
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the subscription price.
parent
e8ad8777
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/OrderBuilder_generateSlapOSAggregatedMovementList.xml
...ing/OrderBuilder_generateSlapOSAggregatedMovementList.xml
+1
-1
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
...ccounting/TestTemplateItem/testSlapOSAccountingBuilder.py
+1
-1
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/OrderBuilder_generateSlapOSAggregatedMovementList.xml
View file @
d932e162
...
@@ -92,7 +92,7 @@ for movement in movement_list:\n
...
@@ -92,7 +92,7 @@ for movement in movement_list:\n
price_currency=movement.getPriceCurrency()\n
price_currency=movement.getPriceCurrency()\n
)\n
)\n
if movement.getResource() == \'service_module/slapos_instance_subscription\':\n
if movement.getResource() == \'service_module/slapos_instance_subscription\':\n
temp_movement.edit(price=
1.0
)\n
temp_movement.edit(price=
0.84
)\n
else:\n
else:\n
temp_movement.edit(price=0.0)\n
temp_movement.edit(price=0.0)\n
temp_movement_list.append(temp_movement)\n
temp_movement_list.append(temp_movement)\n
...
...
This diff is collapsed.
Click to expand it.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
View file @
d932e162
...
@@ -1542,7 +1542,7 @@ class TestSlapOSAggregatedDeliveryBuilder(testSlapOSMixin):
...
@@ -1542,7 +1542,7 @@ class TestSlapOSAggregatedDeliveryBuilder(testSlapOSMixin):
built_update_line
.
getResource
())
built_update_line
.
getResource
())
self
.
assertEqual
(
1.0
,
built_subscription_line
.
getQuantity
())
self
.
assertEqual
(
1.0
,
built_subscription_line
.
getQuantity
())
self
.
assertEqual
(
1.0
,
built_subscription_line
.
getPrice
())
self
.
assertEqual
(
0.84
,
built_subscription_line
.
getPrice
())
self
.
assertEqual
(
subscription_line
.
getResource
(),
self
.
assertEqual
(
subscription_line
.
getResource
(),
built_subscription_line
.
getResource
())
built_subscription_line
.
getResource
())
...
...
This diff is collapsed.
Click to expand it.
master/bt5/slapos_accounting/bt/revision
View file @
d932e162
200
201
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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