mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Improve ET auto answer view
This commit is contained in:
@ -41,8 +41,8 @@ class Invoice(models.Model):
|
||||
if self.payment_method == "SITH_ACCOUNT":
|
||||
self.user.customer.amount -= self.get_total()
|
||||
self.user.customer.save()
|
||||
self.validated = True
|
||||
self.save()
|
||||
self.validated = True
|
||||
self.save()
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user