fix transfers

This commit is contained in:
Aurélien Delobelle 2016-09-05 22:12:58 +02:00
parent a5b19b4328
commit 58cb6015fc
2 changed files with 1 additions and 3 deletions

View file

@ -636,8 +636,6 @@ $(document).ready(function() {
}
articleSelect.on('keydown', function(e) {
console.log('trolo');
console.log(e.charCode);
var text = articleSelect.val();
// Comportement normal pour ces touches
if (normalKeys.test(e.keyCode) || e.ctrlKey) {

View file

@ -1410,7 +1410,7 @@ def perform_transfers(request):
transfers = transfer_formset.save(commit = False)
# Initializing vars
required_perms = set('kfet.add_transfer') # 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
for transfer in transfers: