diff options
Diffstat (limited to 'archaeological_warehouse/forms.py')
| -rw-r--r-- | archaeological_warehouse/forms.py | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 6638140d6..57fc31f4f 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -308,6 +308,23 @@ class WarehouseDeletionForm(FinalForm):      confirm_end_msg = _("Would you like to delete this warehouse?") +class QAWarehouseFromMulti(QAForm): +    form_admin_name = _("Context record - Quick action -Modify") +    form_slug = "warehouse-quickaction-modify" + +    MULTI = True +    REPLACE_FIELDS = ["qa_warehouse_type"] + +    qa_warehouse_type = forms.ChoiceField( +        label=_("Warehouse type"), +        required=False, +    ) + +    TYPES = [ +        FieldType("qa_warehouse_type", models.WarehouseType), +    ] + +  class ContainerForm(CustomForm, ManageOldType, forms.Form):      form_label = _("Container")      form_admin_name = _("Container - 010 - General")  | 
