Fixed and replaced the IsDebitAccount validator with the IsCreditAccount validator in the account_code field of the RecurringIncomeForm form.
This commit is contained in:
parent
8f477dd6f1
commit
a4644ede5f
@ -166,7 +166,7 @@ class RecurringIncomeForm(RecurringItemForm):
|
||||
account_code = StringField(
|
||||
filters=[strip_text],
|
||||
validators=[AccountExists(),
|
||||
IsDebitAccount(),
|
||||
IsCreditAccount(),
|
||||
NotStartReceivableFromCredit()])
|
||||
"""The account code."""
|
||||
description_template = StringField(
|
||||
|
Loading…
Reference in New Issue
Block a user