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:
parent
067afdb165
commit
5edb5465c5
@ -168,7 +168,7 @@ class RecurringForm(RecurringItemForm):
|
|||||||
"""The sub-form for the recurring expenses and incomes."""
|
"""The sub-form for the recurring expenses and incomes."""
|
||||||
expenses = FieldList(FormField(RecurringExpenseForm), name="expense")
|
expenses = FieldList(FormField(RecurringExpenseForm), name="expense")
|
||||||
"""The recurring expenses."""
|
"""The recurring expenses."""
|
||||||
incomes = FieldList(FormField(RecurringExpenseForm), name="income")
|
incomes = FieldList(FormField(RecurringIncomeForm), name="income")
|
||||||
"""The recurring incomes."""
|
"""The recurring incomes."""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user