Compare commits

..

3 Commits

Author SHA1 Message Date
16534fc755
Recompute running balances when required 2024-11-09 23:47:14 +11:00
e313758192
Basic caching of running balances
About 60% performance improvement on balance report
2024-11-09 23:47:14 +11:00
b425643980
Don't hard code reporting commodity 2024-11-09 23:47:13 +11:00
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from drcr.database import db
from drcr.models import Amount
from drcr.models import Amount, reporting_commodity
from drcr.webapp import eofy_date
class CGTAsset(Amount):

View File

@ -16,7 +16,7 @@
from flask import redirect, render_template, request, url_for
from drcr.models import AccountConfiguration, Amount, Posting, Transaction
from drcr.models import AccountConfiguration, Amount, Posting, Transaction, reporting_commodity
from drcr.database import db
from drcr.plugins import render_plugin_template
from drcr.webapp import all_accounts, app, eofy_date