Commit b27e1457 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Don't set artificial pricing get what was defined by the previous movement.

parent 1aeadc98
......@@ -45,9 +45,8 @@ for movement in movement_list:
price_currency=movement.getPriceCurrency()
)
if movement.getResource() == 'service_module/slapos_instance_subscription':
temp_movement.edit(price=0.83612040133800003)
else:
temp_movement.edit(price=0.0)
temp_movement.edit(price=movement.getPrice())
temp_movement_list.append(temp_movement)
id += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment