Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036295Openbravo ERPA. Platformpublic2017-06-16 12:482017-06-21 14:55
JONHM 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR17Q2.13.0PR17Q2.1 
inigosanchez
Core
Production - Confirmed Stable
2016-05-24
3.0PR16Q3
https://code.openbravo.com/erp/devel/pi/rev/9105dfe33d79 [^]
No
0036295: 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.0PR17Q2.1
2017-06-21 12:04caristuAssigned Toinigosanchez => caristu
2017-06-21 12:04caristuReview Assigned To => inigosanchez
2017-06-21 13:37hgbotCheckin
2017-06-21 13:37hgbotNote Added: 0097554
2017-06-21 13:37hgbotStatusscheduled => resolved
2017-06-21 13:37hgbotResolutionopen => fixed
2017-06-21 13:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/f71735cbbfb0ca40df73580ce147f8db5628b149 [^]
2017-06-21 14:55inigosanchezNote Added: 0097557
2017-06-21 14:55inigosanchezStatusresolved => closed
2017-06-21 14:55inigosanchezFixed in Version => 3.0PR17Q2.1

Notes
(0097554)
hgbot   
2017-06-21 13:37   
Repository: erp/backports/3.0PR17Q2.1
Changeset: f71735cbbfb0ca40df73580ce147f8db5628b149
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jun 21 11:08:10 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q2.1/rev/f71735cbbfb0ca40df73580ce147f8db5628b149 [^]

fixes issue 36295: 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
---
(0097557)
inigosanchez   
2017-06-21 14:55   
reviewed + tested