2
0
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:
Oliver
2018-04-17 23:39:53 +10:00
parent 53d7fd2c46
commit 8856d7f793
24 changed files with 145 additions and 188 deletions

View File

@ -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'