mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Improve product display
This commit is contained in:
@ -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