Wrong Value in Accounting Account for Currency

Hello, 100 Currency equal to 2000 main local currency and this should be registered into accounting account but what is happening i find 100 instead of 2000 as local currency and this takes time to review and make manual edit to the ledger.
in invoices for import or export the rate 100 currency equal to 2000 local currency above is 0.05 and everything seems right, the invoice in currency with total in both currency perfect but in accounting account ledger its 100 not 2000 which is the currency
i started using dolibarr ver14 and upgrade every version up to 17.02 for severals clean installations it the same. the core of transferring Module should use local currency field not total invoice field and in bank transfer from to both currencies its always get amount in foreign currency not local ones.
any onw can help. thanks