mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 18:31:16 +00:00
Add 'note' field to BOM item model
This commit is contained in:
1 parent
9e5eed5d5e
commit
d5186fc615
2 files changed
+21
No files matched your search
@@ -375,6 +375,9 @@ class BomItem(models.Model):
|
||||
# Quantity required
|
||||
quantity = models.PositiveIntegerField(default=1, validators=[MinValueValidator(0)])
|
||||
|
||||
# Note attached to this BOM line item
|
||||
note = models.CharField(max_length=100, blank=True, help_text='Item notes')
|
||||
|
||||
def clean(self):
|
||||
|
||||
# A part cannot refer to itself in its BOM
|
||||
|
||||
Reference in new issue
Block a user