Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027590Openbravo ERPA. Platformpublic2014-09-11 18:232014-09-18 06:13
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
shankarb
Core
No
0027590: P&E grids are not setting the _org parameter properly in the datasource request
Pick and Execute grids are not setting the _org parameter properly in the datasource request. They are get the organization either from the view where the process is defined (that view is null if the process is opened from the menu) or they are set from the current user organization.

The first place where the organization is looked for should be the parameters of the parameter window. If there is an organization parameter, then it should take precedence over the underlying view and over the user organization.
Check the getOrgParameter function of the ob-pick-and-execute-grid.js file. At no point it looks for the organization in the parameters of the parameter window.
No tags attached.
Issue History
2014-09-11 18:23AugustoMauchNew Issue
2014-09-11 18:23AugustoMauchAssigned To => AugustoMauch
2014-09-11 18:23AugustoMauchModules => Core
2014-09-11 18:23AugustoMauchTriggers an Emergency Pack => No
2014-09-11 18:26AugustoMauchIssue Monitored: shankarb
2014-09-11 18:27AugustoMauchReview Assigned To => shankarb
2014-09-11 18:32hgbotCheckin
2014-09-11 18:32hgbotNote Added: 0070087
2014-09-11 18:32hgbotStatusnew => resolved
2014-09-11 18:32hgbotResolutionopen => fixed
2014-09-11 18:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7d46ca24405fcace7017e0473871d0a372a73fdf [^]
2014-09-12 16:39hudsonbotCheckin
2014-09-12 16:39hudsonbotNote Added: 0070105
2014-09-16 10:11hgbotCheckin
2014-09-16 10:11hgbotNote Added: 0070137
2014-09-17 01:50hudsonbotCheckin
2014-09-17 01:50hudsonbotNote Added: 0070160
2014-09-18 06:13shankarbNote Added: 0070191
2014-09-18 06:13shankarbStatusresolved => closed
2014-09-18 06:13shankarbFixed in Version => 3.0PR14Q4

Notes
(0070087)
hgbot   
2014-09-11 18:32   
Repository: erp/devel/pi
Changeset: 7d46ca24405fcace7017e0473871d0a372a73fdf
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Sep 11 18:26:33 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7d46ca24405fcace7017e0473871d0a372a73fdf [^]

Fixes issue 27590: P&E grids are not setting the _org parameter properly

Now the proper _org parameter is included in the request parameters. The organization is picked like this:
- If there is an organization parameter in the parameter window, pick it
- If not there, try to obtain it from the view that defines the process
- If not there, use the current client organization

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0070105)
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
(0070137)
hgbot   
2014-09-16 10:11   
Repository: erp/devel/pi
Changeset: 97d8692ae48c0da4a58ca71b7ca5197c13439355
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Sep 16 10:10:01 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/97d8692ae48c0da4a58ca71b7ca5197c13439355 [^]

Related to Issue 27590: P&E grids are not setting the _org parameter properly

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0070160)
hudsonbot   
2014-09-17 01:50   
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/8faa150d42bc [^]
Maturity status: Test
(0070191)
shankarb   
2014-09-18 06:13   
Code reviewed and verified in pi changeset 04ae35aa72e5.