mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 13:46:05 +00:00
Improve product display
This commit is contained in:
1 parent
7fdcb0c815
commit
63217b2ead
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ class ProductsLookup(RightManagedLookupChannel):
|
||||
self.model.objects.filter(code__icontains=q)).filter(archived=False)[:50]
|
||||
|
||||
def format_item_display(self, item):
|
||||
return item.name
|
||||
return "%s (%s)" % (item.name, item.code)
|
||||
|
||||
@register('club_accounts')
|
||||
class ClubAccountLookup(RightManagedLookupChannel):
|
||||
|
||||
Reference in new issue
Block a user