Correction sélection annulation(s)

This commit is contained in:
Aurélien Delobelle 2016-08-20 21:22:24 +02:00
parent 25dd34e402
commit ac61a6e5c6
2 changed files with 4 additions and 7 deletions

View file

@ -118,6 +118,8 @@ class Account(models.Model):
perms.add('kfet.override_frozen_protection')
new_balance = self.balance + amount
if new_balance < 0 and amount < 0:
print(new_balance)
print(amount)
# Retrieving overdraft amount limit
if (hasattr(self, 'negative')
and self.negative.authz_overdraft_amount is not None):