Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029140Openbravo ERPA. Platformpublic2015-03-05 12:132015-03-06 16:04
Sandrahuguet 
alostale 
immediateminorhave not tried
closedfixed 
20Community Appliance
 
3.0PR15Q2 
AugustoMauch
Core
Automated tests
2015-02-26
pi
https://code.openbravo.com/erp/devel/pi/rev/becbc7144120c7e6b95f93309b9d2617648547bf [^]
No
0029140: Credit selected in the grid is not used when the payment is processed
Credit selected in the grid is not used when the payment is processed
-As QA testing

-Go to Payment Out and create a new payment with this data:
  Paying to: Vendor A
  Payment Method: 1 (Spain)
  Amount: 200.00
    
-Go to Payment Out and create a new payment with this data:
  Paying to: Vendor A
  Payment Method: 1 (Spain)
  Amount: 100.00
    
-Click Add Details button and complete the pop-up:
  Actual Payment: 100.00
  Action Regarding Document: Process Made Payment(s)
  Overpayment Action: Leave the credit to be used later
  Click Done button
    
-Go to Payment Out and create a new payment with this data:
  Paying to: Vendor A
  Payment Method: 1 (Spain)
  Amount: 0.00
    
-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:
  Payment Amount: 100.00
  Action Regarding Document: Process Made Payment(s)
  Overpayment Action: Refund amount to customer
  Click Done button

-A new record has been created in Used Credit Source tab. Notice that the document number in this tab is not the document number of selected credit



No tags attached.
caused by defect 00287123.0PR15Q2 closed alostale Records selection is lost in pick and execute window under some circumnstances 
Issue History
2015-03-05 12:13SandrahuguetNew Issue
2015-03-05 12:13SandrahuguetAssigned To => Sandrahuguet
2015-03-05 12:13SandrahuguetModules => Core
2015-03-05 12:13SandrahuguetRegression level => Automated tests
2015-03-05 12:13SandrahuguetRegression date => 2015-02-26
2015-03-05 12:13SandrahuguetRegression introduced in release => pi
2015-03-05 12:13SandrahuguetRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/becbc7144120c7e6b95f93309b9d2617648547bf [^]
2015-03-05 12:13SandrahuguetTriggers an Emergency Pack => No
2015-03-05 12:14SandrahuguetAssigned ToSandrahuguet => AugustoMauch
2015-03-05 12:14SandrahuguetCategory03. Procurement management => A. Platform
2015-03-05 12:34AugustoMauchRelationship addedcaused by 0028712
2015-03-05 16:35SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7863#r7863
2015-03-05 17:31alostaleAssigned ToAugustoMauch => alostale
2015-03-05 17:31alostaleReview Assigned To => AugustoMauch
2015-03-05 17:39hgbotCheckin
2015-03-05 17:39hgbotNote Added: 0075214
2015-03-05 17:39hgbotStatusnew => resolved
2015-03-05 17:39hgbotResolutionopen => fixed
2015-03-05 17:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/68dac1cb62fa035a8f63322990325e1d7a7e8cbf [^]
2015-03-06 09:04AugustoMauchNote Added: 0075224
2015-03-06 09:04AugustoMauchStatusresolved => closed
2015-03-06 09:04AugustoMauchFixed in Version => 3.0PR15Q2
2015-03-06 16:04hudsonbotCheckin
2015-03-06 16:04hudsonbotNote Added: 0075256

Notes
(0075214)
hgbot   
2015-03-05 17:39   
Repository: erp/devel/pi
Changeset: 68dac1cb62fa035a8f63322990325e1d7a7e8cbf
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 05 17:36:57 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/68dac1cb62fa035a8f63322990325e1d7a7e8cbf [^]

fixed bug 29140: selected credit selected is not used

  When adding a payment the selected records for used credit were not taken into
  account.

  The problem was credit_to_use._selection property was always sent as [] after
  fix for issue 0028712. The problem was in the overwritten selectionChanged js
  method for this grid, which should invoke super's selectionChanged but it didn't
  do it correctly.

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0075224)
AugustoMauch   
2015-03-06 09:04   
Code reviewed and verified in pi@486e7700e8d0
(0075256)
hudsonbot   
2015-03-06 16:04   
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/1601137b3c3d [^]
Maturity status: Test