Renamed the debit and credit methods in the Account data model to selectable_debit and selectable_credit, to be clear.

This commit is contained in:
2023-03-22 20:21:52 +08:00
parent 5f88260507
commit 68c810d492
3 changed files with 12 additions and 10 deletions

View File

@ -202,7 +202,7 @@ class RecurringForm(RecurringItemForm):
:return: None.
"""
return Account.debit()
return Account.selectable_debit()
@property
def income_accounts(self) -> list[Account]:
@ -210,7 +210,7 @@ class RecurringForm(RecurringItemForm):
:return: None.
"""
return Account.credit()
return Account.selectable_credit()
@property
def as_data(self) -> dict[str, list[tuple[str, str, str]]]: