restructure to move uncloudnetwork into core

This commit is contained in:
Nico Schottelius 2020-10-25 21:00:30 +01:00
commit 20c7c86703
8 changed files with 130 additions and 47 deletions

View file

@ -1061,7 +1061,7 @@ class Bill(models.Model):
provider = UncloudProvider.objects.get()
# Assume always VAT inside the country
if provider.country = self.billing_address.country:
if provider.country == self.billing_address.country:
vat_rate = VATRate.objects.get(country=provider.country,
when=self.ending_date)
elif self.billing_address.country in EU: