mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Changing any settings is prevented when project has existing currency (#1292)
This commit is contained in:
parent
2bb535070a
commit
ba117ba0a6
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class EditProjectForm(FlaskForm):
|
|||
raise ValidationError(msg)
|
||||
if (
|
||||
project is not None
|
||||
and field.data != CurrencyConverter.no_currency
|
||||
and field.data != project.default_currency
|
||||
and project.has_bills()
|
||||
):
|
||||
msg = _(
|
||||
|
|
Loading…
Reference in a new issue