-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currency Conversion wrong USD to MXN in invoices #9801
Comments
There's an issue with the totals, but conversion is fine. I think this is more of a translation issue because "original currency" refers to MXN in your example. When you changed the exchange rate, I think it asked in which way you want to do the conversion. You must have selected MXN > USD instead of USD > MXN, that's why you have it the wrong way. |
The system is set in USD, as shown in the first screen that you attach and we see how it is specified that 1 USD = 18.5 MXN. in the second screen we see the amount of the invoice in $ 35,641 USD, and the conversion is executed in the third screen, a correct operation in this case is 35.641 USD * 18.5 MXN = $ 659358.5 value that does not appear in "original currency" or in "Total amount" this in case of only be translation problem as you mention |
Ok got it. When you change the currency of a document, the system considers the price already defined in the document as the same in the new currency instead of keeping the internal currency as reference. I'll look into it. |
I've always the problem in the PDF proposal, invoice.... as in last picture of nanoxp : |
Fix changing currency in a doc was recalculating amounts in company currency #9801
Yes I know, sorry I just fixed the first issue and not the one in the PDF for now... |
problem seems to be fixed with release 8.0.3. |
Is this fixed ? Can you close it ? |
It can be closed. I don't how I can close it. |
Bug
[Currency Conversion wrong USD to MXN in invoices]
Environment
Expected and actual behavior
[Currency Conversion wrong USD to MXN in invoices¨
]
Steps to reproduce the behavior
[Dolibarr is configured as USD Base Currency and it is indicated in the configuration section that 1 USD = 18.5 MXN
When making a invoice in the base currency that is USD we see that everything is fine:
when we do the convert to MXN and enter the Currency conversion rate, as it's shown in the following:
is being made division instead of multiplying them as shown in the previous image (1 USD = 18.5 MXN) 35,641.00 USD = 659,358.5 No 1,926.54 as seen in Amount (inc. tax) in the previous image.
also in the generated PDF we see how it says it is in MXN but the totals are still put in USD
]
The text was updated successfully, but these errors were encountered: