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:
imacat committed 2023-03-22 20:21:52 +08:00
1 parent 5f88260507
commit 68c810d492
3 files changed
+12 -10

No files matched your search

+2 -2
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]]]: