Compare commits

..

3 Commits

Author SHA1 Message Date
9373212482
Recompute running balances when required 2024-11-09 23:41:42 +11:00
18392d6917
Basic caching of running balances
About 60% performance improvement on balance report
2024-11-09 23:38:56 +11:00
fe8d47c676
Don't hard code reporting commodity 2024-11-09 18:23:21 +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/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
from drcr.database import db from drcr.database import db
from drcr.models import Amount, reporting_commodity from drcr.models import Amount
from drcr.webapp import eofy_date from drcr.webapp import eofy_date
class CGTAsset(Amount): class CGTAsset(Amount):

View File

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