Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015740Openbravo ERP09. Financial managementpublic2011-01-24 10:462012-03-12 11:54
dalsasua 
naiaramartinez 
normalminoralways
closedout of date 
20Ubuntu 10.10
2.50 
 
Core
No
0015740: Payment Monitor doesn't work with Credit Memos
If a credit memo is paid completely, payment monitor do not detect it.
Create a Credit Memo (purchase or sales one) with one line of $100
Include the $100 payment in a bank statement and process it
Go back to the credit memo and run the payment monitor process
Realize that $200 are pending, when, actually, all the amount is paid
In org.openbravo.erpCommon.ad_process.PaymentMonitor.updateInvoice(), replace both invoice.getGrandTotalAmount() statements with
if (document type of the invoice is credit memo)
  invoice.getGrandTotalAmount().negate()
else
  invoice.getGrandTotalAmount()
VMA-Reviewed
Issue History
2011-01-24 10:46dalsasuaNew Issue
2011-01-24 10:46dalsasuaAssigned To => dalsasua
2011-01-24 10:46dalsasuaModules => Core
2011-07-20 18:17dalsasuaAssigned Todalsasua => jonalegriaesarte
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 16:07vmromanosTag Attached: VMA-Reviewed
2012-03-12 11:51naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-03-12 11:51naiaramartinezStatusnew => scheduled
2012-03-12 11:51naiaramartinezfix_in_branch => pi
2012-03-12 11:54naiaramartinezNote Added: 0046254
2012-03-12 11:54naiaramartinezStatusscheduled => closed
2012-03-12 11:54naiaramartinezResolutionopen => out of date

Notes
(0046254)
naiaramartinez   
2012-03-12 11:54   
This issue has been closed because it is out of date. In OB 3.0 the bug can't be reproduced.