update default_currency check #1291

This commit is contained in:
Turtle6665 2024-03-12 21:08:46 +01:00
parent 2bb535070a
commit 3a933e003d

View file

@ -195,7 +195,7 @@ class EditProjectForm(FlaskForm):
raise ValidationError(msg) raise ValidationError(msg)
if ( if (
project is not None project is not None
and field.data != CurrencyConverter.no_currency and field.data != project.default_currency
and project.has_bills() and project.has_bills()
): ):
msg = _( msg = _(