Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027588Openbravo ERPA. Platformpublic2014-09-11 12:562014-09-18 06:13
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0PR14Q4 
shankarb
Core
Coding ( Testing )
2014-09-04
pi
https://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]
No
0027588: Selectors don't work properly in Parameter Windows if are opened directly from a menu entry
Selectors don't work properly in Parameter Windows if are opened directly from a menu entry. The result of the selector is not being filtered properly by organization. This happens because there is not a context parameter called "_org", and in the back end it is expected in that way. Normally this parameter would be retrieved from the row selected in the parent grid when this process is opened in a pop up. But this is not the case.
Create a process definition with an Organization parameter and a Business Partner parameter.
Create a menu entry that opens this process definition directly.
Realize that the Business Partner selector does not filter by the org of the other parameter(name ad_org_id), neither the logging organization.
No tags attached.
caused by defect 0027529 closed AugustoMauch Parameter Windows should use the context of its owner tab to initialize the parameters 
Issue History
2014-09-11 12:56AugustoMauchNew Issue
2014-09-11 12:56AugustoMauchAssigned To => AugustoMauch
2014-09-11 12:56AugustoMauchModules => Core
2014-09-11 12:56AugustoMauchRegression level => Coding ( Testing )
2014-09-11 12:56AugustoMauchRegression date => 2014-09-04
2014-09-11 12:56AugustoMauchRegression introduced in release => pi
2014-09-11 12:56AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]
2014-09-11 12:56AugustoMauchTriggers an Emergency Pack => No
2014-09-11 12:57AugustoMauchRelationship addedcaused by 0027529
2014-09-11 13:48AugustoMauchIssue Monitored: shankarb
2014-09-11 13:48AugustoMauchReview Assigned To => shankarb
2014-09-11 13:49hgbotCheckin
2014-09-11 13:49hgbotNote Added: 0070084
2014-09-11 13:49hgbotStatusnew => resolved
2014-09-11 13:49hgbotResolutionopen => fixed
2014-09-11 13:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/87c66542143358af2670d64c34f121912068d365 [^]
2014-09-11 21:26hudsonbotCheckin
2014-09-11 21:26hudsonbotNote Added: 0070090
2014-09-12 09:14hgbotCheckin
2014-09-12 09:14hgbotNote Added: 0070098
2014-09-12 16:39hudsonbotCheckin
2014-09-12 16:39hudsonbotNote Added: 0070107
2014-09-18 06:13shankarbNote Added: 0070190
2014-09-18 06:13shankarbStatusresolved => closed
2014-09-18 06:13shankarbFixed in Version => 3.0PR14Q4

Notes
(0070084)
hgbot   
2014-09-11 13:49   
Repository: erp/devel/pi
Changeset: 87c66542143358af2670d64c34f121912068d365
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 11 13:47:52 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/87c66542143358af2670d64c34f121912068d365 [^]

Fixes issue 27588: _org parameter is added to param windows open from the menu

This changeset [1] broke the previous fix. Now, in OBSelector.prepareDSRequest, when the selector belongs to a parameter window the execution flow enter another if branch. The code to include the _org parameter has been included in that branch.

[1] https://code.openbravo.com/erp/devel/pi/rev/5e8878153d020c7a347832dec1e5513d5b19c2ca [^]

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0070090)
hudsonbot   
2014-09-11 21:26   
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/01e44597eb1a [^]
Maturity status: Test
(0070098)
hgbot   
2014-09-12 09:14   
Repository: erp/devel/pi
Changeset: 93871d28c8b240e72f9c28ab2c6f7ec527b2ca3c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Sep 12 09:14:10 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/93871d28c8b240e72f9c28ab2c6f7ec527b2ca3c [^]

Related with issue 27588: Include the params of the param window in the request

When a selector was used in the parameter window, only the values of the selected record in the underlying view were being used to build the request params. The parameters of the param window itself should also be included.

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0070107)
hudsonbot   
2014-09-12 16:39   
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/5c9f936cfa1d [^]
Maturity status: Test
(0070190)
shankarb   
2014-09-18 06:13   
Code reviewed and verified in pi changeset 04ae35aa72e5.