dolibarr
dolibarr copied to clipboard
Multicurrency payments in Customer Invoices list computes an incorrect payment amount record
Bug
Multicurrency payments in Customer Invoices list computes wrongly and generates a wrong payment amount value in the payment record after selecting "Record Payment" is the list screen [ ../compta/facture/list.php ]. The amount of the payment in EUR multiplies by 7,45 (DKK to EUR) which is wrong. The currency of the invoice is EU.
When creating payments from the individual invoice screen [ ../compta/paiement.php ] after pressing the button "Enter Payment" calculation of the payment goes well in combination with multicurrency (DKK vs EU)
Dolibarr Version
19.0.2
Environment PHP
7.4.13
Environment Database
MariaDB MySQL 10.6
Steps to reproduce the behavior and expected behavior
Select a customer invoice in the list customer invoices ../compta/facture/list.php which has EU currency Then select "Record Payment" / enter a date and bank account and press validate The payment record is created but with the wrong amount. In this case the base currency is DKK.
Attached files
No response