mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
72899530cf
commit
4be1b2928b
@ -104,7 +104,7 @@ class SupplierPartSerializer(InvenTreeModelSerializer):
|
||||
self.fields.pop('manufacturer_detail')
|
||||
|
||||
if prettify is not True:
|
||||
self.fields.pop('pretty_name')
|
||||
self.fields.pop('pretty_name')
|
||||
|
||||
supplier = serializers.PrimaryKeyRelatedField(queryset=Company.objects.filter(is_supplier=True))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user