You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go to pay a supplier invoice and insert the value I was billed by the supplier in the ‘Payment amount, original currency’ form text field the value is checked against the equivalent value in euros and throws an error stating:
Attention, the payment amount of one or more bills is higher then the outstanding amount to pay.
Edit your entry, otherwise confirm and consider creating a credit note for the excess received for each overpaid invoice.
For example I have an invoice of let’s say 1000 dollars to pay. The equivalent in Euros is 938.
When I input the value 1000 in the original currency place the error is triggered.
When I input 938 in the same field the error is not triggered.
Bug
From : https://www.dolibarr.org/forum/t/error-when-validating-payment/22651
When I go to pay a supplier invoice and insert the value I was billed by the supplier in the ‘Payment amount, original currency’ form text field the value is checked against the equivalent value in euros and throws an error stating:
For example I have an invoice of let’s say 1000 dollars to pay. The equivalent in Euros is 938.
When I input the value 1000 in the original currency place the error is triggered.
When I input 938 in the same field the error is not triggered.
Environment Version
15.0.1
Attached files
htdocs\fourn\facture\paiement.php
on line 186 where it says
$multicurrency_amountsresttopay[$cursorfacid] = price2num($tmpinvoice->total_ttc - $tmpinvoice->getSommePaiement(1));
it should be
$multicurrency_amountsresttopay[$cursorfacid] = price2num($tmpinvoice->multicurrency_total_ttc - $tmpinvoice->getSommePaiement(1));
The text was updated successfully, but these errors were encountered: