Comment 23 for bug 511104

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello,

Earlier it was the case where the wizard was not sending the currency of Payment journal(the currency of the journal selected on payment wizard). So everytime it was assuming that the currency is always the invoice's currency. Unfortunately, it is not the case always. Remove the patch and try to see the Payment Lines of Invoice(Many2Many field).

So, the cur_diff variable does the trick and it saves lot of people.

Regarding the change in residual calculation.
we only need to work upon the currency of Invoice and payment line(and that is what the current patch does.) Earlier, it was not checking currency of payment line.

Amount currency has to be counted when it concerns same currency of invoice on journal of pay wizard.
I'm sure that it will not work on old partially paid invoices.

Queries Invited.
Thanks.