Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029145Openbravo ERP09. Financial managementpublic2015-03-05 16:062016-02-02 09:35
Sandrahuguet 
Sandrahuguet 
immediatemajorhave not tried
closedfixed 
20Community Appliance
 
pi 
umartirena
Core
Production - Confirmed Stable
2014-06-19
3.0PR14Q3
https://code.openbravo.com/erp/devel/pi/rev/f94f08e02e3a [^]
No
0029145: Used credit is not correct under certain circumstances
Used credit is not correct under certain circumstances
Go to Payment In and create a new payment with this data:
  Paying to: Restaurantes Luna Llena, S.A.
  Amount: 3000.00

Click Add Details button and complete the pop-up:
  Actual Payment: 3000
  Action Regarding Document: Process Received Payment(s)
  Overpayment Action: Leave the credit to be used later
  Click Done button

Go to Sales Invoice and create new:
 Organization: F&B España - Región Norte
 Business Partner: Restaurantes Luna Llena, S.A.
 Lines: Cerveza Ale 0,5L ; Qty:1000
Complete it
Go to Payment In and create a new payment with this data:
  Paying to: Restaurantes Luna Llena, S.A.
  Amount 0

Click Add Details button and complete the pop-up:
 Actual Payment: 0.00
 On Credit To Use, check off the credit created in previous step and set payment amount to 3000,00
 In order/invoices grid select the invoice created in previous step (2468.40 amount)
 Action Regarding Document: Process Received Payment(s)
 Overpayment Action: Leave the credit to be used later
 Click Done button

Returns to first payment and in the header, notice that used credit is 3000.00 and should be 2468.40
No tags attached.
related to defect 00287123.0PR15Q2 closed alostale Records selection is lost in pick and execute window under some circumnstances 
depends on backport 00291463.0PR15Q1.2 closed Sandrahuguet Used credit is not correct under certain circumstances 
depends on backport 00291473.0PR14Q3.8 closed Sandrahuguet Used credit is not correct under certain circumstances 
caused by feature request 0029391 closed Sandrahuguet Add Payment refactor project 
causes defect 00301383.0PR15Q3 closed aferraz Error in Add Payment when generating credit and adding a negative line 
Issue History
2015-03-05 16:06SandrahuguetNew Issue
2015-03-05 16:06SandrahuguetAssigned To => AugustoMauch
2015-03-05 16:06SandrahuguetModules => Core
2015-03-05 16:06SandrahuguetRegression level => Production - Confirmed Stable
2015-03-05 16:06SandrahuguetRegression date => 2014-06-19
2015-03-05 16:06SandrahuguetRegression introduced in release => 3.0PR14Q3
2015-03-05 16:06SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/f94f08e02e3a [^]
2015-03-05 16:06SandrahuguetTriggers an Emergency Pack => No
2015-03-05 16:08AugustoMauchStatusnew => scheduled
2015-03-05 16:10AugustoMauchStatusscheduled => resolved
2015-03-05 16:10AugustoMauchFixed in Version => 3.0PR15Q2
2015-03-05 16:10AugustoMauchFixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/becbc7144120c7e6b95f93309b9d2617648547bf [^]
2015-03-05 16:10AugustoMauchResolutionopen => fixed
2015-03-05 16:11ngarciaIssue Monitored: ngarcia
2015-03-05 16:23ngarciaResolution time => 1428444000
2015-03-05 17:07alostaleRelationship addedrelated to 0028712
2015-03-05 17:50ngarciaResolution time1428444000 =>
2015-03-05 18:10jpcalventeIssue Monitored: jpcalvente
2015-03-05 18:44SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7865#r7865
2015-03-05 18:44AugustoMauchStatusresolved => new
2015-03-05 18:44AugustoMauchResolutionfixed => open
2015-03-05 18:44AugustoMauchFixed in Version3.0PR15Q2 =>
2015-03-05 18:44AugustoMauchFixed in SCM revisionhttps://code.openbravo.com/erp/devel/pi/rev/becbc7144120c7e6b95f93309b9d2617648547bf [^] =>
2015-03-05 18:45AugustoMauchNote Added: 0075215
2015-03-06 08:12SandrahuguetAssigned ToAugustoMauch => Sandrahuguet
2015-03-06 08:12SandrahuguetCategoryA. Platform => 09. Financial management
2015-03-09 17:56SandrahuguetStatusnew => scheduled
2015-03-17 17:58hgbotCheckin
2015-03-17 17:58hgbotNote Added: 0075693
2015-03-17 17:58hgbotStatusscheduled => resolved
2015-03-17 17:58hgbotResolutionopen => fixed
2015-03-17 17:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fb806ae22a47f529125e7528e58c0985b0238898 [^]
2015-03-18 00:03hudsonbotCheckin
2015-03-18 00:03hudsonbotNote Added: 0075712
2015-03-18 10:43umartirenaReview Assigned To => umartirena
2015-03-18 10:43umartirenaNote Added: 0075726
2015-03-18 10:43umartirenaStatusresolved => closed
2015-03-18 10:43umartirenaFixed in Version => pi
2015-03-18 13:47SandrahuguetStatusclosed => new
2015-03-18 13:47SandrahuguetResolutionfixed => open
2015-03-18 13:47SandrahuguetFixed in Versionpi =>
2015-03-18 17:20SandrahuguetNote Added: 0075748
2015-03-18 17:20SandrahuguetStatusnew => scheduled
2015-03-18 17:21SandrahuguetStatusscheduled => resolved
2015-03-18 17:21SandrahuguetResolutionopen => fixed
2015-03-20 13:29hgbotCheckin
2015-03-20 13:29hgbotNote Added: 0075800
2015-03-20 14:28umartirenaNote Added: 0075811
2015-03-20 14:55umartirenaStatusresolved => closed
2015-03-20 14:55umartirenaFixed in Version => pi
2015-03-20 19:23hudsonbotCheckin
2015-03-20 19:23hudsonbotNote Added: 0075835
2015-03-24 17:39aferrazRelationship addedcaused by 0029391
2015-04-22 09:12SandrahuguetNote Added: 0076669
2015-06-09 13:42aferrazRelationship addedcauses 0030138
2016-02-02 09:35hgbotCheckin
2016-02-02 09:35hgbotNote Added: 0083810

Notes
(0075215)
AugustoMauch   
2015-03-05 18:45   
Reopened, as the changeset did not properly fixed the issue (it was causing another bug, see https://issues.openbravo.com/view.php?id=28712 [^])
(0075693)
hgbot   
2015-03-17 17:58   
Repository: erp/devel/pi
Changeset: fb806ae22a47f529125e7528e58c0985b0238898
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Mar 17 17:53:05 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fb806ae22a47f529125e7528e58c0985b0238898 [^]

Fixed bug 29145: Used credit is not correct under certain circumstances

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0075712)
hudsonbot   
2015-03-18 00:03   
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/2e3cf56c8f15 [^]
Maturity status: Test
(0075726)
umartirena   
2015-03-18 10:43   
Code Review + Testing OK
(0075748)
Sandrahuguet   
2015-03-18 17:20   
Repository: erp/devel/pi
Changeset: b7fd6844f03fbe9da3dd45017893bf0ebbf161a7
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Mar 18 17:17:38 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b7fd6844f03fbe9da3dd45017893bf0ebbf161a7 [^] [^]

related to issue 29147

the validation only has to be considered when overpayment combo is visible

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
(0075800)
hgbot   
2015-03-20 13:29   
Repository: erp/devel/pi
Changeset: 601513f5d35e3c4469c6e8e6acbeae08f013b0a2
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Mar 20 09:32:09 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/601513f5d35e3c4469c6e8e6acbeae08f013b0a2 [^]

related to issue 29145

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0075811)
umartirena   
2015-03-20 14:28   
Code Review + Testing of last 2 commits is OK
(0075835)
hudsonbot   
2015-03-20 19:23   
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/a670497786d1 [^]
Maturity status: Test
(0076669)
Sandrahuguet   
2015-04-22 09:12   
Test case added in testlink

https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8202 [^]
(0083810)
hgbot   
2016-02-02 09:35   
Repository: tools/automation/int
Changeset: 268c35d586486810e69d018bfdaa06b05f9bbc00
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Sep 24 12:18:23 2015 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/268c35d586486810e69d018bfdaa06b05f9bbc00 [^]

Related to issue 29145: Added some automated tests

---
M src-test/com/openbravo/test/integration/erp/gui/financial/receivablespayables/transactions/AddPaymentProcess.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/RegressionSuite.java
M src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/build.xml
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression027.java
A src-test/com/openbravo/test/integration/erp/modules/functionalteam/addpayment/testsuites/APR_Regressions/APRRegression028.java
---