Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029961Openbravo ERPA. Platformpublic2015-05-20 13:122015-05-25 10:48
yogaskarnik 
alostale 
immediateminoralways
closedfixed 
5
 
3.0PR15Q1.53.0PR15Q1.5 
AugustoMauch
Core
Production - Confirmed Stable
2015-03-16
3.0PR15Q1.2
https://code.openbravo.com/erp/devel/pi/rev/a882ebfc5ae62239e25474f67de797735bf960db [^]
No
0029961: 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.0PR15Q1.5
2015-05-21 16:28dmitry_mezentsevTag Attached: Approved
2015-05-22 08:23alostaleReview Assigned To => AugustoMauch
2015-05-22 10:45hgbotCheckin
2015-05-22 10:45hgbotNote Added: 0077653
2015-05-22 10:45hgbotStatusscheduled => resolved
2015-05-22 10:45hgbotResolutionopen => fixed
2015-05-22 10:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.5/rev/da611decd9be53fb2ffdd01353f73119c6e0fedb [^]
2015-05-25 10:48AugustoMauchNote Added: 0077691
2015-05-25 10:48AugustoMauchStatusresolved => closed
2015-05-25 10:48AugustoMauchFixed in Version => 3.0PR15Q1.5

Notes
(0077653)
hgbot   
2015-05-22 10:45   
Repository: erp/backports/3.0PR15Q1.5
Changeset: da611decd9be53fb2ffdd01353f73119c6e0fedb
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.0PR15Q1.5/rev/da611decd9be53fb2ffdd01353f73119c6e0fedb [^]

fixed bug 29961: 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
---
(0077691)
AugustoMauch   
2015-05-25 10:48   
Code reviewed and verified in [1]@3847b902dc3f

[1] https://code.openbravo.com/erp/backports/3.0PR15Q1.5/ [^]