[FIX] RECRUITMENT: Fixed linkedIn error when creating recruitment(#973)

This commit is contained in:
Horilla
2025-11-07 14:11:07 +05:30
parent b5f2fc6624
commit 42a57c4252

View File

@@ -214,6 +214,7 @@ class RecruitmentCreationFormExtended(RecruitmentCreationForm):
if not IntegrationApps.objects.filter(
app_label="linkedin", is_enabled=True
).exists():
self.fields["publish_in_linkedin"].initial = False
self.fields["publish_in_linkedin"].widget = forms.HiddenInput()
self.fields["linkedin_account_id"].widget = forms.HiddenInput()