Skip to content

Commit

Permalink
Merge pull request #275 from maykinmedia/feature/261-onderwerpobjecte…
Browse files Browse the repository at this point in the history
…n-inline-fix

♻️[#261] change Onderwerpobject inline to use klantcontact
  • Loading branch information
Coperh authored Nov 8, 2024
2 parents 6f76921 + f79e48c commit f8930d5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ class BetrokkeneAdmin(admin.ModelAdmin):
]


class WasOnderwerpobjectInlineAdmin(admin.StackedInline):
class OnderwerpobjectInlineAdmin(admin.StackedInline):
model = Onderwerpobject
fk_name = "was_klantcontact"
raw_id_field = ["was_klantcontact"]
fk_name = "klantcontact"
raw_id_field = ["klantcontact"]
readonly_fields = ("uuid",)
extra = 0

Expand All @@ -155,7 +155,7 @@ class KlantcontactAdmin(admin.ModelAdmin):
inlines = [
ActorKlantcontactInlineAdmin,
BetrokkeneInlineAdmin,
WasOnderwerpobjectInlineAdmin,
OnderwerpobjectInlineAdmin,
BijlageInlineAdmin,
InterneTaakInlineAdmin,
]
Expand Down

0 comments on commit f8930d5

Please sign in to comment.