Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029960Openbravo ERPA. Platformpublic2015-05-20 13:122015-05-25 11:28
yogaskarnik 
alostale 
immediateminoralways
closedfixed 
5
 
3.0PR15Q2.23.0PR15Q2.2 
AugustoMauch
Core
Production - Confirmed Stable
2015-03-16
3.0PR15Q1.2
https://code.openbravo.com/erp/devel/pi/rev/a882ebfc5ae62239e25474f67de797735bf960db [^]
No
0029960: Selector Reference field changes to Id in editable P&E when adding new rows
In a process definition with a grid parameter allowing to add new rows, if one of the editable fields in this grid is a drop down (table/tableDir/selector) references with a default value, when creating new lines, the identified for these fields in the previously created lines gets transformed into the record uuid.
* As System Administrator, display "Modify Payment Plan" button in Payment Plan tab of Sales Invoice window
* As Group Admin, Create new Sales Invoice document. Add line and process
* Go to Payment Plan tab and click on "Modify Payment Plan" button
* Edit existent line to change its Payment Method value
* Create a new line
  -> Check the 1st line: the value displayed for the Payment Method is not the readable identifier anymore but its internal uuid.
Approved
blocks defect 0029940 closed alostale Selector Reference field changes to Id in editable P&E when adding new rows 
Issue History
2015-05-21 16:06alostaleTypedefect => backport
2015-05-21 16:06alostaleTarget Version => 3.0PR15Q2.2
2015-05-21 16:28dmitry_mezentsevTag Attached: Approved
2015-05-22 08:23alostaleReview Assigned To => AugustoMauch
2015-05-22 10:53hgbotCheckin
2015-05-22 10:53hgbotNote Added: 0077655
2015-05-22 10:53hgbotStatusscheduled => resolved
2015-05-22 10:53hgbotResolutionopen => fixed
2015-05-22 10:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/8e451a7503a082b39699805050fccea1a74ea825 [^]
2015-05-25 11:28AugustoMauchNote Added: 0077699
2015-05-25 11:28AugustoMauchStatusresolved => closed
2015-05-25 11:28AugustoMauchFixed in Version => 3.0PR15Q2.2

Notes
(0077655)
hgbot   
2015-05-22 10:53   
Repository: erp/backports/3.0PR15Q2.2
Changeset: 8e451a7503a082b39699805050fccea1a74ea825
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 21 17:44:34 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/8e451a7503a082b39699805050fccea1a74ea825 [^]

fixed bug 29960: field changes to Id in editable P&E when adding new rows

  In P&E with editable grid, if adding new records with default value for a drop
  down reference, existing records with different values for that field were changed
  from identifier to uuid.

  The problem was in how value map was set in this case. Instead of setting it for
  the edit form it was done at grid level.

  It has been fixed by setting the value map only to the field in the edit form.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0077699)
AugustoMauch   
2015-05-25 11:28   
Code reviewed and verified in [1]@1aa4b7547120

[1] https://code.openbravo.com/erp/backports/3.0PR15Q2.2/ [^]