withdrawals cost money

This commit is contained in:
Ludovic Stephan 2017-02-08 15:38:59 -02:00
parent 5ea9705528
commit 01dbf7293c

View file

@ -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)