2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Defined custom SupplierPart object manager and prefetch related models in all queries

This commit is contained in:
eeintech
2021-07-13 12:55:36 -04:00
parent 2295008944
commit 3d9ad24e27
3 changed files with 20 additions and 5 deletions

View File

@ -15,6 +15,7 @@ from .models import SalesOrderAllocation
class PurchaseOrderLineItemInlineAdmin(admin.StackedInline):
model = PurchaseOrderLineItem
extra = 0
class PurchaseOrderAdmin(ImportExportModelAdmin):