finance: expence delete api fixed

This commit is contained in:
behruz-dev
2025-11-11 16:17:47 +05:00
parent 333ffac4e6
commit 25898a7864
3 changed files with 35 additions and 65 deletions

View File

@@ -18,10 +18,12 @@ class PartyAdmin(admin.ModelAdmin):
"delivery_date",
"payment_date",
"is_deleted",
"party_amount__total_price",
"currency"
]
inlines = [PartyAmountInline]
search_fields = [
"number",
"number", "orders__counterparty__name"
]