mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
Improvements to company API
- Filter by is_manufacturer - Better table display
This commit is contained in:
@ -112,7 +112,7 @@ class Company(models.Model):
|
||||
|
||||
is_supplier = models.BooleanField(default=True, help_text=_('Do you purchase items from this company?'))
|
||||
|
||||
is_manufacturer = models.BooleanField(default=True, help_text=_('Does this company manufacture parts?'))
|
||||
is_manufacturer = models.BooleanField(default=False, help_text=_('Does this company manufacture parts?'))
|
||||
|
||||
def __str__(self):
|
||||
""" Get string representation of a Company """
|
||||
|
Reference in New Issue
Block a user