mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
Currency: switching back to "no currency" gives unexpected results
Fixes #599
This commit is contained in:
parent
219f308e8c
commit
2e9e656acd
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ def edit_project():
|
|||
continue
|
||||
|
||||
if project.default_currency == CurrencyConverter.no_currency:
|
||||
# Use old currency before stripping
|
||||
# Use old currency to flatten all amount before stripping
|
||||
bill.converted_amount = CurrencyConverter().exchange_currency(
|
||||
bill.amount, bill.original_currency, old_currency
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue