diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-05-20 11:23:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | 3ff82007369b115406c2f2effbdfb13188167bb7 (patch) | |
tree | d5601f32c841063bcd93741d3516772c0ebe4bad /archaeological_operations/views.py | |
parent | 7659a92661450c331c79fbe59dee5b75434ee02d (diff) | |
download | Ishtar-3ff82007369b115406c2f2effbdfb13188167bb7.tar.bz2 Ishtar-3ff82007369b115406c2f2effbdfb13188167bb7.zip |
Parcels: remove from operation wizard - improve display
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r-- | archaeological_operations/views.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index 6d34163d4..468a864b8 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -216,8 +216,6 @@ wizard_steps = [ ("preventivediag-operation_creation", forms.OperationFormPreventiveDiag), ("townsgeneral-operation_creation", forms.TownFormset), ("towns-operation_creation", forms.SelectedTownFormset), - ("parcelsgeneral-operation_creation", forms.SelectedParcelGeneralFormSet), - ("parcels-operation_creation", forms.SelectedParcelFormSet), ("remains-operation_creation", forms.RemainForm), ("periods-operation_creation", forms.PeriodForm), ("relations-operation_creation", forms.RecordRelationsFormSet), @@ -273,10 +271,10 @@ ope_crea_condition_dict = { ), "parcelsgeneral-operation_creation": wizards.has_associated_file( "filechoice-operation_creation", negate=True - ), + ), # TODO: AFAC "parcels-operation_creation": wizards.has_associated_file( "filechoice-operation_creation" - ), + ), # TODO: AFAC } operation_creation_wizard = wizards.OperationWizard.as_view( @@ -296,8 +294,6 @@ operation_modif_wizard_steps = [ ("preventivediag-operation_modification", forms.OperationFormPreventiveDiag), ("towns-operation_modification", forms.SelectedTownFormset), ("townsgeneral-operation_modification", forms.TownFormset), - ("parcels-operation_modification", forms.SelectedParcelFormSet), - ("parcelsgeneral-operation_modification", forms.SelectedParcelGeneralFormSet), ("remains-operation_modification", forms.RemainForm), ("periods-operation_modification", forms.PeriodForm), ("relations-operation_modification", forms.RecordRelationsFormSet), @@ -336,10 +332,10 @@ ope_modif_condition_dict = { ), "parcelsgeneral-operation_modification": wizards.has_associated_file( "general-operation_modification", negate=True - ), + ), # TODO: AFAC "parcels-operation_modification": wizards.has_associated_file( "general-operation_modification" - ), + ), # TODO: AFAC } operation_modification_wizard = wizards.OperationModificationWizard.as_view( |