update
This commit is contained in:
parent
eb160d98e2
commit
305f53c439
@ -2717,10 +2717,10 @@ class Notification(models.Model):
|
||||
|
||||
class Vendor(models.Model, LocalizedNameMixin):
|
||||
dealer = models.ForeignKey(Dealer, on_delete=models.CASCADE, related_name="vendors")
|
||||
crn = models.IntegerField(unique=True, verbose_name=_("Commercial Registration Number")
|
||||
crn = models.CharField(unique=True, verbose_name=_("Commercial Registration Number")
|
||||
)
|
||||
vrn = models.IntegerField(
|
||||
unique=True, verbose_name=_("VAT Registration Number")
|
||||
vrn = models.CharField(
|
||||
max_length=15, unique=True, verbose_name=_("VAT Registration Number")
|
||||
)
|
||||
vendor_model = models.ForeignKey(
|
||||
VendorModel,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user