forked from erp-dev/erp
fix: admin problems(open printing jobs slowly and frontend pages missing merchant field)
This commit is contained in:
@@ -180,6 +180,7 @@ class PrintingJobInline(admin.StackedInline):
|
||||
model = models.PrintingJob
|
||||
formset = PrintingJobInlineFormSet
|
||||
extra = 1
|
||||
autocomplete_fields = ('product',) # 避免加载所有产品导致页面卡死
|
||||
|
||||
|
||||
@admin.register(models.PrintingOrder)
|
||||
|
||||
Reference in New Issue
Block a user