Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028884Openbravo ERPZ. Otherspublic2015-02-06 10:532015-05-07 22:16
maite 
reinaldoguerra 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q3 
vmromanos
OBPS
Core
34152
No
0028884: Available Credit does not appear when adding Payment from Match Statement process
Available Credit does not appear when adding Payment from Match Statement process
1. Register Payment In for "Alimentos y Supermercados" to generate 100EUR of credit
2. Access "Cuenta de Banco" financial account and create new Bank Statement. Add bank statement line for "Alimentos y Supermercados" and amount in =30. Process
3. Run "Match Statement" process and press "+" button from bank statement lines
4. Run add payment process, by clicking on "+" in payment's selector
5. Realize that "Credit to use" section does not appear

Note. if you set Business Partner again, window is loaded again and "credit to use" section appears
No tags attached.
Issue History
2015-02-06 10:53maiteNew Issue
2015-02-06 10:53maiteAssigned To => dmiguelez
2015-02-06 10:53maiteOBNetwork customer => Yes
2015-02-06 10:53maiteModules => Core
2015-02-06 10:53maiteSupport ticket => 34152
2015-02-06 10:53maiteResolution time => 1426114800
2015-02-06 10:53maiteTriggers an Emergency Pack => No
2015-02-06 10:53maiteIssue Monitored: networkb
2015-02-06 11:03maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7637#r7637
2015-02-06 14:08maitePriorityimmediate => urgent
2015-02-23 13:30jonalegriaesarteTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-02-23 16:07reinaldoguerraAssigned Todmiguelez => reinaldoguerra
2015-02-23 16:07reinaldoguerraStatusnew => scheduled
2015-02-24 14:34reinaldoguerraNote Added: 0074847
2015-04-27 10:04hgbotCheckin
2015-04-27 10:04hgbotNote Added: 0076770
2015-04-27 10:04hgbotStatusscheduled => resolved
2015-04-27 10:04hgbotResolutionopen => fixed
2015-04-27 10:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/19fcb25e7791d301330155c122fb9ff38f10272f [^]
2015-04-27 10:05vmromanosReview Assigned To => vmromanos
2015-04-27 10:05vmromanosNote Added: 0076771
2015-04-27 10:05vmromanosStatusresolved => closed
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077159

Notes
(0074847)
reinaldoguerra   
2015-02-24 14:34   
Test plan used:
1- Login into Openbravo ERP
2- Go to Payment In window and register a new record
3- Set "Alimentos y Supermercados" as Received From and set Amount = 100
4- Click on Add Details button, unselect any order or invoice and select "Leave the credit to be used later" as Overpayment Action
5- Complete the process clicking in "Done" button. This action will generate 100 EUR of credit.
6- Access "Cuenta de Banco" financial account
7- Go to Imported Bank Statements tab and create a new record named for example: Test
8- Go to Bank Statement Lines and create a new one for business partner "Alimentos y Supermercados" and amount in = 30. Enter any reference number too.
9- Process the Bank Statement and then Run "Match Statement" process
10- Press "+" button from the Match column in the bank statement line.
11- Run add payment process, by clicking on "+" in payment's selector
12- Realize that now "Credit to use" section is shown successfuly
(0076770)
hgbot   
2015-04-27 10:04   
Repository: erp/devel/pi
Changeset: 19fcb25e7791d301330155c122fb9ff38f10272f
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Mon Feb 23 15:50:40 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/19fcb25e7791d301330155c122fb9ff38f10272f [^]

Fixed bug 28884: Available Credit does not appear from Match Statement process.

Some request parameters of the JSON context, changes when the Add Paymet window/process is executed from Match Statement process, so these parameters are also taken into account now, to obtain the correct display logic boolean value, for the section "Credit to Use".
Now it is shown the section "Credit to Use", from Match Statement process, having an Available Credit.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/TransactionAddPaymentDisplayLogics.java
---
(0076771)
vmromanos   
2015-04-27 10:05   
Code review + testing OK
(0077159)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test