Commits

Chris Moffitt committed 3487840

Add another raw_id field to make discounts manageable with lots of products.
Closes #970

  • Participants
  • Parent commits 3231986

Comments (0)

Files changed (1)

File satchmo/apps/product/admin.py

 class DiscountOptions(admin.ModelAdmin):
     list_display=('site', 'description','active')
     list_display_links = ('description',)
-    filter_horizontal = ('validProducts',)
+    raw_id_fields = ('validProducts',)
 
 class OptionGroupTranslation_Inline(admin.StackedInline):
     model = OptionGroupTranslation