Fixed the incomes field of the RecurringForm form to use the RecurringIncomeForm form instead of the RecurringExpenseForm form as its sub-forms.

This commit is contained in:
依瑪貓 2023-03-22 19:29:42 +08:00
parent 067afdb165
commit 5edb5465c5

View File

@ -168,7 +168,7 @@ class RecurringForm(RecurringItemForm):
"""The sub-form for the recurring expenses and incomes."""
expenses = FieldList(FormField(RecurringExpenseForm), name="expense")
"""The recurring expenses."""
incomes = FieldList(FormField(RecurringExpenseForm), name="income")
incomes = FieldList(FormField(RecurringIncomeForm), name="income")
"""The recurring incomes."""
@property