diff --git a/InvenTree/build/models.py b/InvenTree/build/models.py index 80feefc547..e81ae6a45d 100644 --- a/InvenTree/build/models.py +++ b/InvenTree/build/models.py @@ -87,7 +87,7 @@ class Build(models.Model): limit_choices_to={ 'buildable': True, 'active': True - }, + }, ) title = models.CharField( diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index f9a91fd345..2a3c31552e 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -467,7 +467,7 @@ class BomItem(models.Model): limit_choices_to={ 'buildable': True, 'active': True, - }) + }) # A link to the child item (sub-part) # Each part will get a reverse lookup field 'used_in' @@ -475,7 +475,7 @@ class BomItem(models.Model): limit_choices_to={ 'consumable': True, 'active': True - }) + }) # Quantity required quantity = models.PositiveIntegerField(default=1, validators=[MinValueValidator(0)])