monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.04k stars 2.09k forks source link

Old currency causes failure on login #7298

Open CyberMuz opened 1 month ago

CyberMuz commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Bug description

Can't login because of error related with currency

Steps to reproduce

  1. Open https://app.monicahq.com
  2. Login with my username and password
  3. Error "Cannot find ISO currency HRK" is displayed. I can't proceed... image

For some contacts I have some debts written. The currency for the amount was set to Croatian Kuna (HRK). Since 2023. HRK is no longer active currency (Croatia switched to Euro) so this is why the HRK is missing in some ISO currency list.

Expected behavior

Application should login successfully even if some debts are written in older, no longer active currencies. Alternatively, amounts in HRK should be converted to Euro, the official exchange rate for HRK to Euro was. 1 Euro = 7,53450 HRK.

Environment

app.monicahq.com (monica v4)

Version of Monica

No response

Installation method

None

Web server

None

Database engine version

None

Additional info

No response