From 42a57c4252afe7be517f17361320685a9cb2b160 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 7 Nov 2025 14:11:07 +0530 Subject: [PATCH] [FIX] RECRUITMENT: Fixed linkedIn error when creating recruitment(#973) --- recruitment/cbv/recruitment_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recruitment/cbv/recruitment_view.py b/recruitment/cbv/recruitment_view.py index b560e51dd..103e0b92c 100644 --- a/recruitment/cbv/recruitment_view.py +++ b/recruitment/cbv/recruitment_view.py @@ -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()