Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020808 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 02. Master data management | minor | always | 2012-06-19 18:12 | 2012-07-26 02:42 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4fcbb6ceb27d | ||||
Projection | none | ETA | none | Target Version | 3.0MP14 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 15832 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020808: Customer credit is not updating correctly | |||||||
Description | After doing a refund to a customer, the customer balance is not being updated correctly. Specifically, the refund amount is summed twice. | |||||||
Steps To Reproduce | 1) Go to [Business Partner] window, go to a business partner that is a customer. Check the Customer Balance quantity in the Customer tab. 2) Create a sales invoice and generate credit for the customer chose at step 1). Let's say that the generate credit is x. 3) Create a payment in to make a refund to the customer by checking the "available credit" checkbox. The amount of the refund must be x. 4) Go back to the business Partner Window, check that the Customer Balance has been updated wrong, because its new value has been increased in x+x. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0050752) hgbot (developer) 2012-07-19 13:51 |
Repository: erp/devel/pi Changeset: 4fcbb6ceb27d191acde665f87f77241f454b7aec Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Thu Jul 19 13:50:14 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/4fcbb6ceb27d191acde665f87f77241f454b7aec [^] Fixes issue 20808: Customer credit is not updating correctly --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java --- |
(0050753) mirurita (viewer) 2012-07-19 13:54 |
Alternative Testing Plan 1) Set customer balance for Restaurantes business partner to 0 2) Create a credit payment in of 100€ for Restaurantes + Customer Balance: -100 3) Create a sales invoice of 80€ for Restaurantes + Customer Balance: -20 4) Create a payment in for Restaurantes as follows: * Amount: 0 * Use available credit of 100 * Pay the invoice of 80 * Refund the difference of 20 5) Check the customer balance, it should be 0. |
(0050760) hgbot (developer) 2012-07-19 15:58 |
Repository: erp/devel/pi Changeset: a155bc15a5190c1a7524cb6f2977675cbefff461 Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Thu Jul 19 15:58:08 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a155bc15a5190c1a7524cb6f2977675cbefff461 [^] Related to issue issue 20808: apply logic to reactivate action --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java --- |
(0050761) mirurita (viewer) 2012-07-19 16:00 |
Alternative Testing Plan II (continues previous testing plan) 6) Reactivate the refund payment 7) Reactivate the payment of step 4) 8) Reactivate the payment of credit 9) Reactivate the invoice At this point the customer balance should be 0 |
(0050766) caristu (viewer) 2012-07-19 17:15 |
Verified (Steps to Reproduced + Alternative Testing Plans) |
(0050861) hudsonbot (viewer) 2012-07-26 02:42 |
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/5edf203d5780 [^] Maturity status: Test |
(0050862) hudsonbot (viewer) 2012-07-26 02:42 |
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/5edf203d5780 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-06-19 18:12 | caristu | New Issue | |
2012-06-19 18:12 | caristu | Assigned To | => mirurita |
2012-06-19 18:12 | caristu | Modules | => Core |
2012-06-19 18:12 | caristu | OBNetwork customer | => Yes |
2012-06-19 18:12 | caristu | Support ticket | => 15832 |
2012-06-19 18:12 | caristu | Resolution time | => 1346191200 |
2012-06-19 18:17 | caristu | Issue Monitored: networkb | |
2012-06-19 18:17 | mirurita | Assigned To | mirurita => jonalegriaesarte |
2012-06-21 16:22 | caristu | Target Version | => 3.0MP14 |
2012-06-25 13:14 | jonalegriaesarte | Assigned To | jonalegriaesarte => caristu |
2012-06-28 17:40 | caristu | Steps to Reproduce Updated | View Revisions |
2012-07-19 13:47 | mirurita | Assigned To | caristu => mirurita |
2012-07-19 13:51 | hgbot | Checkin | |
2012-07-19 13:51 | hgbot | Note Added: 0050752 | |
2012-07-19 13:51 | hgbot | Status | new => resolved |
2012-07-19 13:51 | hgbot | Resolution | open => fixed |
2012-07-19 13:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4fcbb6ceb27d191acde665f87f77241f454b7aec [^] |
2012-07-19 13:54 | mirurita | Note Added: 0050753 | |
2012-07-19 15:58 | hgbot | Checkin | |
2012-07-19 15:58 | hgbot | Note Added: 0050760 | |
2012-07-19 16:00 | mirurita | Note Added: 0050761 | |
2012-07-19 17:15 | caristu | Note Added: 0050766 | |
2012-07-19 17:15 | caristu | Status | resolved => closed |
2012-07-26 02:42 | hudsonbot | Checkin | |
2012-07-26 02:42 | hudsonbot | Note Added: 0050861 | |
2012-07-26 02:42 | hudsonbot | Checkin | |
2012-07-26 02:42 | hudsonbot | Note Added: 0050862 |
Copyright © 2000 - 2009 MantisBT Group |