Skip to content

Commit

Permalink
Update cash_registers/admin.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Wellheor1 and github-actions[bot] authored Sep 16, 2024
1 parent 188df0f commit 420dc25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cash_registers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class ChequeAdmin(admin.ModelAdmin):
class ChequeItemsAdmin(admin.ModelAdmin):
list_display = ['pk', 'cheque', 'research', 'coast', 'count', 'amount']
list_filter = ('cheque',)
raw_id_fields = ['research',]
raw_id_fields = [
'research',
]


admin.site.register(CashRegister, CashRegisterAdmin)
Expand Down

0 comments on commit 420dc25

Please sign in to comment.