Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036296Openbravo ERPA. Platformpublic2017-06-16 12:482017-06-21 14:54
JONHM 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR17Q1.23.0PR17Q1.2 
inigosanchez
Core
Production - Confirmed Stable
2016-05-24
3.0PR16Q3
https://code.openbravo.com/erp/devel/pi/rev/9105dfe33d79 [^]
No
0036296: Product Complete selector does not show some fields on picklist
Product Complete selector does not show some fields on picklist
*As System Administrator

1) Open 'Tables and columns' window, select "OrderLine" table and open [M_Product_ID] column
2) Change 'Reference Search Key' field to "Product Complete (Stocked only)"
3) Then, open that reference in 'Reference' window, "Product Complete (Stocked only)", switch to [Defined Selector] tab and then switch to [Defined Selector Field] subtab.
4) Select 'Search Key' field and check on the checkbox "Show in picklist"
-- Recompile the application

*As F&B International Group Admin

5) Open window [Sales Order] and create a new one for 'Alimentos y Supermercados' BP
6) Create a new line and open Product picklist. The search key is not shown
No tags attached.
blocks defect 0036268 closed caristu Product Complete selector does not show some fields on picklist 
Issue History
2017-06-20 12:35inigosanchezTypedefect => backport
2017-06-20 12:35inigosanchezTarget Version => 3.0PR17Q1.2
2017-06-21 12:04caristuAssigned Toinigosanchez => caristu
2017-06-21 12:04caristuReview Assigned To => inigosanchez
2017-06-21 13:35hgbotCheckin
2017-06-21 13:35hgbotNote Added: 0097553
2017-06-21 13:35hgbotStatusscheduled => resolved
2017-06-21 13:35hgbotResolutionopen => fixed
2017-06-21 13:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/d680f104a4bedfce00e1a171357d50ecf3b11404 [^]
2017-06-21 14:54inigosanchezNote Added: 0097556
2017-06-21 14:54inigosanchezStatusresolved => closed
2017-06-21 14:54inigosanchezFixed in Version => 3.0PR17Q1.2

Notes
(0097553)
hgbot   
2017-06-21 13:35   
Repository: erp/backports/3.0PR17Q1.2
Changeset: d680f104a4bedfce00e1a171357d50ecf3b11404
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jun 21 11:06:53 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.2/rev/d680f104a4bedfce00e1a171357d50ecf3b11404 [^]

fixes issue 36296: Some fields marked to be shown on picklist show empty values

  With the fix for issue 0033015 just the required selector properties are sent, in order to prevent unneeded joins. With this change the properties of the fields to be displayed on the pick list and the extra properties are handled separately by the datasource.

  The poblem here is that the datasource was not handling properly the properties to be shown in the picklist which are derived, i.e., those properties that are resolved through property navigation.

  To solve this issue, this kind of derived properties are sent as part of the extra properties.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0097556)
inigosanchez   
2017-06-21 14:54   
reviewed + tested