From 01dbf7293c146e99cc9cfa228faeaff4541b130f Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Wed, 8 Feb 2017 15:38:59 -0200 Subject: [PATCH] withdrawals cost money --- kfet/management/commands/loadkfetdevdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/management/commands/loadkfetdevdata.py b/kfet/management/commands/loadkfetdevdata.py index 8519be08..91a7dc7c 100644 --- a/kfet/management/commands/loadkfetdevdata.py +++ b/kfet/management/commands/loadkfetdevdata.py @@ -134,7 +134,7 @@ class Command(MyBaseCommand): ope = Operation( group=opegroup, type=Operation.WITHDRAW, - amount=Decimal(random.randint(1, 99)/10,) + amount=-Decimal(random.randint(1, 99)/10,) ) else: article = random.choice(articles)