forked from DGNum/gestioCOF
Fix perms perform_transfers
This commit is contained in:
parent
3745485e6c
commit
1125b553d0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue