Rework currency switching

Fixes #599
This commit is contained in:
Glandos 2020-07-26 16:02:29 +02:00
parent 5076a29f71
commit 8fd9ced9e8

View file

@ -413,6 +413,7 @@ def edit_project():
# Edit form # Edit form
if edit_form.validate_on_submit(): if edit_form.validate_on_submit():
old_currency = g.project.default_currency
project = edit_form.update(g.project) project = edit_form.update(g.project)
db.session.add(project) db.session.add(project)