Improve ET auto answer view

This commit is contained in:
Skia
2016-07-26 15:10:48 +02:00
parent d837b624e2
commit 60e606b370
2 changed files with 23 additions and 16 deletions

View File

@ -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()