Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014791Openbravo ERP09. Financial managementpublic2010-10-06 12:512010-10-14 00:00
networkb 
dalsasua 
immediatemajoralways
closedfixed 
5
2.50MP21 
2.50MP232.50MP23 
Core
No
0014791: Automatic cancelation after Bank Statement is processed
It seems it has been a regression regarding this functionality after the submit of this issue: https://issues.openbravo.com/view.php?id=13999 [^]

When creating a bank statement with a certain payment (e.g 100 and isreceipt='Y'), a settlement with two payments are created (100 and -100). Then if a sales invoice is created with amount 100, the payment associated to it of 100 is not cancelled automatically with the one of -100 coming from the bank statement.


1) Create a bank statement with a payment of 100 and isreceipt='Y'
2) Observe that a settlement has been created with two payments (100 and -100)
3) Create a sales invoice with an amount of 100
4) Observe that this creates a payment of 100
5) Finally, see that the last payment of 100 is not cancelled automatically with the one of -100
1. Revert the change done in https://issues.openbravo.com/view.php?id=13999. [^] Doing this the issue is solved
2. Reopen the issue 13999. Fix it
3. Test again this issue
Regression
Issue History
2010-10-06 12:51networkbNew Issue
2010-10-06 12:51networkbAssigned To => dalsasua
2010-10-06 12:51networkbIssue Monitored: emartinez
2010-10-06 13:02psarobeDescription Updatedbug_revision_view_page.php?rev_id=994#r994
2010-10-06 13:02psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=996#r996
2010-10-06 13:02psarobeProposed Solution updated
2010-10-06 13:02psarobePriorityhigh => immediate
2010-10-06 13:02psarobeStatusnew => scheduled
2010-10-06 13:03psarobeTag Attached: Regression
2010-10-06 13:03psarobeversion2.50MP22 => 2.50MP21
2010-10-06 14:28networkbDescription Updatedbug_revision_view_page.php?rev_id=1003#r1003
2010-10-06 14:28networkbSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1004#r1004
2010-10-13 10:22dalsasuaNote Added: 0031794
2010-10-13 10:22dalsasuaStatusscheduled => resolved
2010-10-13 10:22dalsasuaFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/48933d28a14f62a490e714bd453d43af9473352f [^]
2010-10-13 10:22dalsasuaResolutionopen => fixed
2010-10-13 19:57psarobeNote Added: 0031831
2010-10-13 19:57psarobeStatusresolved => closed
2010-10-13 19:57psarobeFixed in Version => 2.50MP23
2010-10-14 00:00anonymoussf_bug_id0 => 3086976

Notes
(0031794)
dalsasua   
2010-10-13 10:22   
Repository: erp/devel/pi
Changeset: 48933d28a14f62a490e714bd453d43af9473352f
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Oct 08 16:27:42 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/48933d28a14f62a490e714bd453d43af9473352f [^] [^]

Fixes issue 13999: invoice post does not work when exists debt payment

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0031831)
psarobe   
2010-10-13 19:57   
Tested working fine