Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028754Openbravo ERPA. Platformpublic2015-01-23 13:212015-03-09 09:51
jecharri 
AugustoMauch 
highminoralways
closedfixed 
5
 
3.0PR15Q2 
alostale
Google Chrome
Core
No
0028754: Picking window grid is not sending the line context to the ERP
Picking window grid is not sending the line context to the ERP
-Login as System
-Go to window "RFC P/E Lines" and set product field editable
-Logout and login as Admin
-Go to return from customer window
-Create a header
-Press in pick/edit lines
-Open developer tools
-Go to network tab
-Select a line in the pick and edit window and open the product dropdown. Verify that in the request done to the ERP the context about the selected line in pick and edit window is not included, so the dropdown cannot use that info in validations.
No tags attached.
Issue History
2015-01-23 13:21jecharriNew Issue
2015-01-23 13:21jecharriAssigned To => AugustoMauch
2015-01-23 13:21jecharriWeb browser => Google Chrome
2015-01-23 13:21jecharriModules => Core
2015-01-23 13:21jecharriResolution time => 1426806000
2015-01-23 13:21jecharriTriggers an Emergency Pack => No
2015-01-29 10:28alostaleStatusnew => scheduled
2015-01-29 10:28alostalefix_in_branch => pi
2015-01-30 08:48AugustoMauchWeb browserGoogle Chrome => Google Chrome
2015-01-30 08:48AugustoMauchfix_in_branchpi =>
2015-01-30 08:48AugustoMauchSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7562#r7562
2015-03-02 11:10AugustoMauchIssue Monitored: alostale
2015-03-02 11:11AugustoMauchReview Assigned To => alostale
2015-03-02 11:11AugustoMauchWeb browserGoogle Chrome => Google Chrome
2015-03-02 11:12hgbotCheckin
2015-03-02 11:12hgbotNote Added: 0075067
2015-03-02 11:12hgbotStatusscheduled => resolved
2015-03-02 11:12hgbotResolutionopen => fixed
2015-03-02 11:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fc4236ca4ff77b1e6ea780ea720552bdcddbd4df [^]
2015-03-02 11:13AugustoMauchNote Added: 0075068
2015-03-02 20:31hudsonbotCheckin
2015-03-02 20:31hudsonbotNote Added: 0075110
2015-03-09 09:51alostaleNote Added: 0075297
2015-03-09 09:51alostaleStatusresolved => closed
2015-03-09 09:51alostaleFixed in Version => 3.0PR15Q2

Notes
(0075067)
hgbot   
2015-03-02 11:12   
Repository: erp/devel/pi
Changeset: fc4236ca4ff77b1e6ea780ea720552bdcddbd4df
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 02 10:56:15 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fc4236ca4ff77b1e6ea780ea720552bdcddbd4df [^]

Fixes issue 28754: Context info is properly sent for selectors in P&E grids

The problem was that when a selector drop down was open in a P&E window, the context info sent to the datasource did not include any info of the record being edited. This made impossible to include in the selector a validation based on other fields of the P&E window.

To fix this, the OBSelectorItem.prepareDSRequest function has been updated. Now that function detects if the selector belongs to a P&E grid, and if so it adds to the datasource request params the context info of the record being edited.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0075068)
AugustoMauch   
2015-03-02 11:13   
Tested in selectors used:
- As fields in standard grid/forms
- As parameters in parameter windows
- As columns in pick and execute grids
(0075110)
hudsonbot   
2015-03-02 20:31   
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/9d659cacae03 [^]
Maturity status: Test
(0075297)
alostale   
2015-03-09 09:51   
code reviewed + tested