Fix perms perform_transfers

This commit is contained in:
Aurélien Delobelle 2016-09-05 13:31:09 +02:00
parent 3745485e6c
commit 1125b553d0

View file

@ -1391,7 +1391,7 @@ def perform_transfers(request):
transfers = transfer_formset.save(commit = False) transfers = transfer_formset.save(commit = False)
# Initializing vars # Initializing vars
required_perms = set() # Required perms to perform all transfers required_perms = set('kfet.add_transfer') # Required perms to perform all transfers
to_accounts_balances = defaultdict(lambda:0) # For balances of accounts to_accounts_balances = defaultdict(lambda:0) # For balances of accounts
for transfer in transfers: for transfer in transfers: