Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018043Openbravo ERP09. Financial managementpublic2011-07-20 17:242011-08-01 14:20
psanjuan 
mirurita 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
Advanced Payables and Receivables Mngmt
No
0018043: System should check not to match invoice = 0,00 amount with existing payments having 0,00 as Generated Credit
System should check not to match invoice = 0,00 amount with existing payments having 0,00 as Generated Credit
Create a BP (Customer)
Create a Sales invoice, total amount 5000. FV 83
Add a payment in for that invoice from the Invoice, Add Payment in button.
Press ok
Realize that a new payment has been created with below details:
Status = Payment Made
Generated Credit = 0,00
Used Credit = 0,00

Create another Sales Invoice for the same BP, this time invoice total amount = 0,00. FV/84
Complete the invoice.
Realize that the 0,00 is paid by the payment in created before.
Invoice paid using credit: 400138 - 20-07-2011 - BP prueba de credito - 9853.00

See image attached.
No tags attached.
png 18043-1.png (78,181) 2011-07-20 17:35
https://issues.openbravo.com/file_download.php?file_id=4371&type=bug
png

png 18043-2.png (85,342) 2011-07-20 17:35
https://issues.openbravo.com/file_download.php?file_id=4372&type=bug
png
Issue History
2011-07-20 17:24psanjuanNew Issue
2011-07-20 17:24psanjuanAssigned To => mirurita
2011-07-20 17:24psanjuanModules => Advanced Payables and Receivables Mngmt
2011-07-20 17:33psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2474#r2474
2011-07-20 17:35psanjuanFile Added: 18043-1.png
2011-07-20 17:35psanjuanFile Added: 18043-2.png
2011-07-21 10:10miruritaRelationship addedrelated to 0018048
2011-07-21 10:10miruritaRelationship deletedrelated to 0018048
2011-07-21 12:59hgbotCheckin
2011-07-21 12:59hgbotNote Added: 0039288
2011-07-21 12:59hgbotStatusnew => resolved
2011-07-21 12:59hgbotResolutionopen => fixed
2011-07-21 12:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/203ae2768e33e52ebb6ab2a4cd184c2d10e05d5a [^]
2011-07-22 18:51psanjuanNote Added: 0039335
2011-07-22 18:51psanjuanStatusresolved => closed
2011-08-01 14:20hudsonbotCheckin
2011-08-01 14:20hudsonbotNote Added: 0039646

Notes
(0039288)
hgbot   
2011-07-21 12:59   
Repository: erp/devel/pi
Changeset: 203ae2768e33e52ebb6ab2a4cd184c2d10e05d5a
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Jul 21 12:58:30 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/203ae2768e33e52ebb6ab2a4cd184c2d10e05d5a [^]

Fixes issue 18043: do not cancel credit when processing invoice with amoutn = 0

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0039335)
psanjuan   
2011-07-22 18:51   
fixed and working
(0039646)
hudsonbot   
2011-08-01 14:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test