Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029978Openbravo ERPA. Platformpublic2015-05-22 12:072015-08-20 23:15
jecharri 
NaroaIriarte 
highminoralways
closedfixed 
5
 
3.0PR15Q43.0PR15Q4 
alostale
Google Chrome
Core
No
0029978: Not possible to use tree reference selector in a pick and execute window grid
Not possible to use tree reference selectors in a pick and execute window grid. The problem is that that kind of selectors were not created to work in a pick list window.
-Define a reference which type is "Tree Reference" and "Ad_org" table as tree reference
-Go to "windows, tabs and fields"
-Select window "Create Purchase Order Lines"
-Go to tab "Lines" and finally select "Organization field"
-Do it visible and change the reference of the column for previously created "Tree reference"

After that, in the ERP as admin:
-Go to purchase order window
-Create a header
-Press in "Create lines button"
-You should see the pick and edit with previously changed reference
No tags attached.
related to design defect 0030323 acknowledged Triage Platform Base Openbravo ERP tree reference cannot be used in as parameter in process definition 
related to feature request 0029949 closed jecharri Retail Modules Add the possibility to define a list with cross channel warehouses 
related to defect 0030812 closed NaroaIriarte Openbravo ERP Multiple filtering not allowed using tree reference selector in a pick and execute window grid. 
diff issue29978.diff (3,888) 2015-06-24 16:46
https://issues.openbravo.com/file_download.php?file_id=8227&type=bug
Issue History
2015-05-22 12:07jecharriNew Issue
2015-05-22 12:07jecharriAssigned To => platform
2015-05-22 12:07jecharriWeb browser => Google Chrome
2015-05-22 12:07jecharriModules => Core
2015-05-22 12:07jecharriTriggers an Emergency Pack => No
2015-05-22 12:11jecharriWeb browserGoogle Chrome => Google Chrome
2015-05-22 12:11jecharriSummaryNot possible to use tree reference selectors in a pick list window => Not possible to use tree reference selectors in a pick and execute window
2015-05-22 12:11jecharriDescription Updatedbug_revision_view_page.php?rev_id=8641#r8641
2015-06-18 07:50alostaleStatusnew => scheduled
2015-06-18 07:50alostaleAssigned Toplatform => NaroaIriarte
2015-06-18 07:54alostaleWeb browserGoogle Chrome => Google Chrome
2015-06-18 07:54alostaleTarget Version => 3.0PR15Q4
2015-06-22 13:04jecharriWeb browserGoogle Chrome => Google Chrome
2015-06-22 13:04jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8861#r8861
2015-06-22 13:05jecharriWeb browserGoogle Chrome => Google Chrome
2015-06-22 13:05jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8862#r8862
2015-06-24 10:14NaroaIriarteIssue Monitored: alostale
2015-06-24 10:15NaroaIriarteReview Assigned To => alostale
2015-06-24 10:15NaroaIriarteWeb browserGoogle Chrome => Google Chrome
2015-06-24 16:46NaroaIriarteFile Added: issue29978.diff
2015-06-24 18:22jecharriNote Added: 0078495
2015-06-24 18:34jecharriNote Deleted: 0078495
2015-06-25 16:29jecharriRelationship addedrelated to 0029949
2015-07-03 17:46hgbotCheckin
2015-07-03 17:46hgbotNote Added: 0078642
2015-07-03 17:46hgbotStatusscheduled => resolved
2015-07-03 17:46hgbotResolutionopen => fixed
2015-07-03 17:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f6dcfa9328cfc74f837a32c7a227ce049bdcff97 [^]
2015-07-07 08:47alostaleWeb browserGoogle Chrome => Google Chrome
2015-07-07 08:47alostaleSummaryNot possible to use tree reference selectors in a pick and execute window => Not possible to use tree reference selector in a pick and execute window grid
2015-07-07 08:47alostaleDescription Updatedbug_revision_view_page.php?rev_id=8988#r8988
2015-07-07 08:54alostaleRelationship addedrelated to 0030323
2015-07-07 08:58alostaleNote Added: 0078688
2015-07-07 08:58alostaleStatusresolved => closed
2015-07-07 08:58alostaleFixed in Version => 3.0PR15Q4
2015-08-20 23:15hudsonbotCheckin
2015-08-20 23:15hudsonbotNote Added: 0079454
2015-09-11 10:31umartirenaRelationship addedrelated to 0030812

Notes
(0078642)
hgbot   
2015-07-03 17:46   
Repository: erp/devel/pi
Changeset: f6dcfa9328cfc74f837a32c7a227ce049bdcff97
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Wed Jun 24 16:56:47 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f6dcfa9328cfc74f837a32c7a227ce049bdcff97 [^]

Fixed issue 29978: Enable tree reference selectors in Pick & Exectute windows.

It was not possible to use tree reference selectors in the pick & execute windows.

To enable this the "ob-formitem-tree-filter.js" has been changed.
Before, there was a function which copied the functions from the view grid, the problem was that this
doesn't exist for the Pick and Execute windows.

Now, it takes into account the pick and execute windows, this has been done by a
condition which checks if "paramWindow" is true, which means that is a pick and execute window.

A new function has been developed too, for granting the correct behavior of this new functionality.
This function, copies some functions from the grid of the pick and execute windows.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree-filter.js
---
(0078688)
alostale   
2015-07-07 08:58   
Code reviewed.

Tested: working fine having a tree reference within a grid for a parameter window, but it is still not possible to use tree reference as a parameter in a process definition window, reported as a design defect 0030323.
(0079454)
hudsonbot   
2015-08-20 23:15   
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/8c91718397a5 [^]
Maturity status: Test