Unit test for compensation forms

* adds compensation action forms unit tests
This commit is contained in:
2023-08-21 10:10:23 +02:00
parent 564ae4d5db
commit 643abcf841
3 changed files with 162 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ class NewCompensationActionModalForm(BaseModalForm):
super().__init__(*args, **kwargs)
self.form_title = _("New action")
self.form_caption = _("Insert data for the new action")
choices =KonovaCode.objects.filter(
choices = KonovaCode.objects.filter(
code_lists__in=[CODELIST_COMPENSATION_ACTION_ID],
is_archived=False,
is_leaf=True,