Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020808
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminoralways2012-06-19 18:122012-07-26 02:42
ReportercaristuView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4fcbb6ceb27d
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020808: Customer credit is not updating correctly

DescriptionAfter doing a refund to a customer, the customer balance is not being updated correctly. Specifically, the refund amount is summed twice.
Steps To Reproduce1) 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
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 (developer)
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 (developer)
2012-07-19 17:15

Verified (Steps to Reproduced + Alternative Testing Plans)
(0050861)
hudsonbot (developer)
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 (developer)
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

- Issue History
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 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
Powered by Mantis Bugtracker