snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Currencies are not correctly handled in Licenses

Open roratonet opened this issue 6 years ago • 4 comments

Please confirm you have done the following before posting your bug report:

Describe the bug We have multiple companies all over the world using the same tool on one server, all with different currencies. The main issue is that, when EUR is set as Default Currency in the Localization Settings, you are forced to use EUR when you create a new license.

In addition, the Currency of ALL Licenses is being changed to the new currency set under Localization Settings. Therefore, if a license has been created with 500 USD and I change the Default Currency (https://demo.snipeitapp.com/admin/localization) to EUR, the license will show with 500 EUR.

To Reproduce Steps to reproduce the behavior:

  1. Create a License under https://demo.snipeitapp.com/licenses/create with some value in Purchase Cost (note down the current currency)
  2. Click on Admin > Localization Settings
  3. Change the Default Currency to other currency (EUR)
  4. Open the previously created license https://demo.snipeitapp.com/licenses
  5. See that it's Purchase Cost is now the same value, but in other currency - which is not true if you do the change

Expected behavior Each license has its own currency, since sometimes companies buy licenses in a different currency Or, split the Licenses section to meet the Locations settings, means that every Location has its own Licenses area under Licenses.

roratonet avatar Nov 13 '20 15:11 roratonet

+1

thumperest avatar Nov 17 '20 12:11 thumperest

+1

FukjemiCZ avatar Dec 10 '20 12:12 FukjemiCZ

We, begrudgingly, think that we probably have to de-norm currency. But - if you think about it - when you buy something in Spain, it's bought in Euros. No matter where it lives now. So let's just accept that fact.

This is definitely true of Licenses, but it's also true of assets.

uberbrady avatar Aug 18 '25 18:08 uberbrady

I think we have to default any kind of currency, we have to default to NULL . Which sucks. But we can definitely make the UI allow people to pick the logical default currency, but allow for picking different.

uberbrady avatar Aug 18 '25 18:08 uberbrady