mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Added lead-time for supplier part
This commit is contained in:
parent
591ae5dc5c
commit
2355adb044
@ -51,6 +51,9 @@ class SupplierPart(models.Model):
|
|||||||
# packaging that the part is supplied in, e.g. "Reel"
|
# packaging that the part is supplied in, e.g. "Reel"
|
||||||
packaging = models.CharField(max_length=50, blank=True)
|
packaging = models.CharField(max_length=50, blank=True)
|
||||||
|
|
||||||
|
# lead time for parts that cannot be delivered immediately
|
||||||
|
lead_time = models.DurationField(blank=True, null=True)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "{mpn} - {supplier}".format(
|
return "{mpn} - {supplier}".format(
|
||||||
mpn=self.MPN,
|
mpn=self.MPN,
|
||||||
|
Loading…
Reference in New Issue
Block a user