mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge branch 'stockitem-note'
This commit is contained in:
commit
f2f40e4758
@ -400,7 +400,9 @@ class SupplierPart(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
supplier = models.ForeignKey(Company, on_delete=models.CASCADE,
|
supplier = models.ForeignKey(Company, on_delete=models.CASCADE,
|
||||||
related_name='parts')
|
related_name='parts',
|
||||||
|
limit_choices_to={'is_supplier': True}
|
||||||
|
)
|
||||||
|
|
||||||
SKU = models.CharField(max_length=100, help_text='Supplier stock keeping unit')
|
SKU = models.CharField(max_length=100, help_text='Supplier stock keeping unit')
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ class CreateStockItemForm(HelperForm):
|
|||||||
'batch',
|
'batch',
|
||||||
'quantity',
|
'quantity',
|
||||||
'status',
|
'status',
|
||||||
|
'notes',
|
||||||
# 'customer',
|
# 'customer',
|
||||||
'URL',
|
'URL',
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user