This commit is contained in:
Nico Schottelius 2020-10-07 00:54:56 +02:00
commit 50fd9e1f37
2 changed files with 103 additions and 230 deletions

View file

@ -20,8 +20,8 @@ class Command(BaseCommand):
if line_count == 0:
line_count += 1
obj, created = VATRate.objects.get_or_create(
start_date=row["start_date"],
stop_date=row["stop_date"] if row["stop_date"] is not "" else None,
starting_date=row["start_date"],
ending_date=row["stop_date"] if row["stop_date"] is not "" else None,
territory_codes=row["territory_codes"],
currency_code=row["currency_code"],
rate=row["rate"],