biweeklybudget.models.utils module

biweeklybudget.models.utils.do_budget_transfer(db_sess, txn_date, amount, account, from_budget, to_budget, notes=None)[source]

Transfer a given amount from from_budget to to_budget on txn_date. This method does NOT commit database changes. There are places where we rely on this function not committing changes.


list of Transactions created for the transfer

Return type:

list of Transaction objects