From 89962542121fc44139af503ae930907c0e576680 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 25 Dec 2019 18:44:43 +0530 Subject: [PATCH] Save stripe tax id --- utils/migrations/0009_auto_20191225_1311.py | 25 +++++++++++++++++++++ utils/models.py | 1 + 2 files changed, 26 insertions(+) create mode 100644 utils/migrations/0009_auto_20191225_1311.py diff --git a/utils/migrations/0009_auto_20191225_1311.py b/utils/migrations/0009_auto_20191225_1311.py new file mode 100644 index 00000000..866a5d12 --- /dev/null +++ b/utils/migrations/0009_auto_20191225_1311.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2019-12-25 13:11 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('utils', '0008_auto_20191225_0529'), + ] + + operations = [ + migrations.AddField( + model_name='billingaddress', + name='stripe_tax_id', + field=models.DateTimeField(blank=True, null=True), + ), + migrations.AddField( + model_name='userbillingaddress', + name='stripe_tax_id', + field=models.DateTimeField(blank=True, null=True), + ), + ] diff --git a/utils/models.py b/utils/models.py index b8e0110c..c1a5e7b4 100644 --- a/utils/models.py +++ b/utils/models.py @@ -14,6 +14,7 @@ class BaseBillingAddress(models.Model): postal_code = models.CharField(max_length=50) country = CountryField() vat_number = models.CharField(max_length=100, default="", blank=True) + stripe_tax_id = models.DateTimeField(blank=True, null=True) vat_number_validated_on = models.DateTimeField(blank=True, null=True) class Meta: