Add StripeTaxRate model

This commit is contained in:
PCoder 2020-01-05 09:57:54 +05:30
parent 96e50ddc8a
commit 5468d5436c

View file

@ -724,4 +724,13 @@ class VATRates(AssignPermissionsMixin, models.Model):
currency_code = models.CharField(max_length=10) currency_code = models.CharField(max_length=10)
rate = models.FloatField() rate = models.FloatField()
rate_type = models.TextField(blank=True, default='') rate_type = models.TextField(blank=True, default='')
description = models.TextField(blank=True, default='') description = models.TextField(blank=True, default='')
class StripeTaxRate(AssignPermissionsMixin, models.Model):
tax_rate_id = models.CharField(max_length=100, unique=True)
jurisdiction = models.CharField(max_length=10)
inclusive = models.BooleanField(default=False)
display_name = models.CharField(max_length=100)
percentage = models.FloatField(default=0)
description = models.CharField(max_length=100)