forked from DGNum/gestioCOF
Correction sélection annulation(s)
This commit is contained in:
parent
25dd34e402
commit
ac61a6e5c6
2 changed files with 4 additions and 7 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue