#9 feat(Product): add external_id field.
This commit is contained in:
@@ -43,6 +43,7 @@ class Product(models.Model):
|
||||
default=MeasuringUnits.UNIT
|
||||
)
|
||||
categories = models.ManyToManyField(ProductCategory)
|
||||
external_id = models.CharField(max_length=100, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user