diff options
author | Cefin <kevon@tuta.io> | 2021-11-11 17:15:45 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 5b461300b7ea81bf7055dda9b4e1399fb2851518 (patch) | |
tree | 4f16995cdc59b503e2ba514983677f8e3e2bf0c4 /archaeological_finds/forms.py | |
parent | 6fd78e655d18a2b29b42c223c6ebba74f4916666 (diff) | |
download | Ishtar-5b461300b7ea81bf7055dda9b4e1399fb2851518.tar.bz2 Ishtar-5b461300b7ea81bf7055dda9b4e1399fb2851518.zip |
rapid action modify basket property #5180
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r-- | archaeological_finds/forms.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index c1b5a229d..15ce0465b 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1108,6 +1108,17 @@ class QAFindbasketDuplicateForm(IshtarForm): self.basket.duplicate(label=self.cleaned_data["label"], ishtaruser=self.user) +class QAFindBasketModify(QAForm): + form_admin_name = _("Find - Quick action - Modify") + form_slug = "findbasket-quickaction-modify" + MULTI = False + + qa_label = forms.CharField(label="Denomination", max_length=None, required=False) + + REPLACE_FIELDS = [ + "qa_label", + ] + class PreservationForm(CustomForm, ManageOldType): form_label = _("Preservation") form_admin_name = _("Find - 030 - Preservation") |