CHANGE: Do not add VAT on internal events

This concurs with discussions with the SU
This commit is contained in:
2021-10-18 17:27:40 +01:00
parent e146d9314a
commit 85d1850f08
4 changed files with 30 additions and 21 deletions

View File

@@ -369,6 +369,9 @@ class Event(models.Model, RevisionMixin):
@property
def vat(self):
# No VAT is owed on internal transfers
if self.internal:
return 0
return Decimal(self.sum_total * self.vat_rate.rate).quantize(Decimal('.01'))
"""