mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
New algorithm when switching currencies
Fixes #599 Be careful, when switching to no currency, all bills are first converted to the last known currency, and currency is erased
This commit is contained in:
parent
8fd9ced9e8
commit
417313477e
1 changed files with 0 additions and 1 deletions
|
@ -413,7 +413,6 @@ def edit_project():
|
|||
|
||||
# Edit form
|
||||
if edit_form.validate_on_submit():
|
||||
old_currency = g.project.default_currency
|
||||
project = edit_form.update(g.project)
|
||||
|
||||
db.session.add(project)
|
||||
|
|
Loading…
Reference in a new issue