1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Repair Invoice model

This commit is contained in:
Yohann D'ANELLO
2020-03-22 15:24:54 +01:00
parent f6027e9edd
commit 15bfdd9f96
8 changed files with 35 additions and 71 deletions

View File

@ -8,7 +8,7 @@ from .models import Invoice, Product
@admin.register(Invoice)
class InvoiceAdmin(admin.ModelAdmin):
list_display = ('id', 'name', 'subject', 'acquitted', )
list_display = ('id', 'name', 'object', 'acquitted', )
@admin.register(Product)