forked from DGNum/gestioCOF
fix transfers
This commit is contained in:
parent
a5b19b4328
commit
58cb6015fc
2 changed files with 1 additions and 3 deletions
|
@ -636,8 +636,6 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
articleSelect.on('keydown', function(e) {
|
articleSelect.on('keydown', function(e) {
|
||||||
console.log('trolo');
|
|
||||||
console.log(e.charCode);
|
|
||||||
var text = articleSelect.val();
|
var text = articleSelect.val();
|
||||||
// Comportement normal pour ces touches
|
// Comportement normal pour ces touches
|
||||||
if (normalKeys.test(e.keyCode) || e.ctrlKey) {
|
if (normalKeys.test(e.keyCode) || e.ctrlKey) {
|
||||||
|
|
|
@ -1410,7 +1410,7 @@ def perform_transfers(request):
|
||||||
transfers = transfer_formset.save(commit = False)
|
transfers = transfer_formset.save(commit = False)
|
||||||
|
|
||||||
# Initializing vars
|
# 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
|
to_accounts_balances = defaultdict(lambda:0) # For balances of accounts
|
||||||
|
|
||||||
for transfer in transfers:
|
for transfer in transfers:
|
||||||
|
|
Loading…
Reference in a new issue