mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Renamed 'customer-order' app to 'customer'
- This app should manage more than just orders - Moved the 'Customer' model into this app
This commit is contained in:
@ -330,7 +330,8 @@ class BomItem(models.Model):
|
||||
|
||||
# A link to the parent part
|
||||
# Each part will get a reverse lookup field 'bom_items'
|
||||
part = models.ForeignKey(Part, on_delete=models.CASCADE, related_name='bom_items')
|
||||
part = models.ForeignKey(Part, on_delete=models.CASCADE, related_name='bom_items',
|
||||
limit_choices_to={'buildable': True})
|
||||
|
||||
# A link to the child item (sub-part)
|
||||
# Each part will get a reverse lookup field 'used_in'
|
||||
|
Reference in New Issue
Block a user