Commit 1be6e254 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Deduce future taxes (20%) that will be added later

parent b27e1457
......@@ -45,7 +45,8 @@ for movement in movement_list:
price_currency=movement.getPriceCurrency()
)
if movement.getResource() == 'service_module/slapos_instance_subscription':
temp_movement.edit(price=movement.getPrice())
# reduce tax from there directly
temp_movement.edit(price=movement.getPrice(0.0)/1.2)
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