PEP fixes

This commit is contained in:
Oliver Walters 2021-01-03 23:07:21 +11:00
parent 6c7b648133
commit 0aeeba808c

View File

@ -712,7 +712,8 @@ class Part(MPTTModel):
delete_orphans=True,
)
default_location = TreeForeignKey('stock.StockLocation',
default_location = TreeForeignKey(
'stock.StockLocation',
on_delete=models.SET_NULL,
blank=True, null=True,
help_text=_('Where is this item normally stored?'),