From 854209c3ae4aaac3f8d82af9b2ab442cce2a7191 Mon Sep 17 00:00:00 2001 From: ariannedee Date: Fri, 16 Oct 2020 18:27:26 -0700 Subject: [PATCH] Fix party code for spouse --- edivorce/apps/core/utils/cso_filing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edivorce/apps/core/utils/cso_filing.py b/edivorce/apps/core/utils/cso_filing.py index 34c29724..3585689b 100644 --- a/edivorce/apps/core/utils/cso_filing.py +++ b/edivorce/apps/core/utils/cso_filing.py @@ -76,7 +76,7 @@ def forms_to_file(responses_dict, initial=False): if derived['wants_other_orders'] and responses_dict.get('name_change_you') == 'YES': forms.append({'doc_type': 'NCV', 'party_code': 1}) if derived['wants_other_orders'] and responses_dict.get('name_change_spouse') == 'YES': - forms.append({'doc_type': 'NCV', 'party_code': 1}) + forms.append({'doc_type': 'NCV', 'party_code': 2}) else: return [] return forms