Wrong rate on Supplier Invoice and multi currency


DOLIBARR ENVIRONMENT
- Version: 8.0.0


If The Main Company Currency is in Euro.
you making a Supplier Invoice in Euro,
The supplier has as Default Euro Currency,

Then on the Supplier Invoice you got :
Currency conversion rate 0.10 (0.10 EUR = 1 EUR) and you cant change it.
So if you by from suppler a product that has EUR currency, the invoice getting wrong.

The Currency conversion rate must be set to 1 (1 EUR = 1 EUR)?

Hello,

Have you tried updating to v8.0.1?

I use now Dolibarr 8.0.2
Still same issu for mee?

I found an solution, so it was not the script on 8.0.0 and 8.0.2 that had the problem, it must be in the DB.

The only way to fix it was to make a new DB. so now it works, now it shows 1 (1 EUR = 1 EUR) it must be some from older version that not handle upgrade,
I not help to upgrade the script, it was in the DB.
But the new pdf on 8.0.2 Dont use currensy on the Total (net of tax) in the selected currency it always use the main company currency!
so you need to use old pdf template from 8.0.0.

The supplier invoice or supplier order has problem when you use multi currency.
“Total (net of tax)” uses the original currency, however, “Total (incl. tax)” uses the selected currency.

Reason:
in function _tableau_tot, due to developer typo, affected the following code,

$total_ht = (($conf->multicurrency->enabled && isset($object->mylticurrency_tx) && $object->mylticurrency_tx != 1) ? $object->multicurrency_total_ht : $object->total_ht);

You will see $object->mylticurrency_tx, it should be multicurrency_tx, after correction. It is right.

Same issue here, and I’m using ver.13.0.3.

Selecting same currency with company default currency in Proposal doesn’t give 1:1 conversion rate.

Anybody can help pls?
Thanks