Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027322 | Openbravo ERP | A. Platform | public | 2014-08-13 13:27 | 2014-09-25 11:30 |
|
Reporter | umartirena | |
Assigned To | AugustoMauch | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q4 | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | shankarb |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027322: Selectors don't work properly in Parameter Windows if are opened directly from a menu entry |
Description | 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. |
Steps To Reproduce | 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. |
Proposed Solution | Find any parameter named "_org", and if it is not found, try to use another one called ad_org_id, or something similar. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0027518 | | new | eduardo_Argal | Modules | It would be fine if business partner selector could be filtered by the ones that belong to the natural tree of the defined org |
|
Attached Files | issue27322.export (1,834) 2014-09-01 12:49 https://issues.openbravo.com/file_download.php?file_id=7190&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-08-13 13:27 | umartirena | New Issue | |
2014-08-13 13:27 | umartirena | Assigned To | => AugustoMauch |
2014-08-13 13:27 | umartirena | Modules | => Core |
2014-08-13 13:27 | umartirena | Triggers an Emergency Pack | => No |
2014-08-13 13:28 | umartirena | Target Version | => 3.0PR14Q4 |
2014-08-13 13:41 | AugustoMauch | Type | feature request => defect |
2014-09-01 12:49 | AugustoMauch | File Added: issue27322.export | |
2014-09-01 16:40 | ngarcia | Issue Monitored: ngarcia | |
2014-09-01 16:53 | AugustoMauch | Issue Monitored: shankarb | |
2014-09-01 16:54 | AugustoMauch | Review Assigned To | => shankarb |
2014-09-01 16:56 | hgbot | Checkin | |
2014-09-01 16:56 | hgbot | Note Added: 0069900 | |
2014-09-01 16:56 | hgbot | Status | new => resolved |
2014-09-01 16:56 | hgbot | Resolution | open => fixed |
2014-09-01 16:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^] |
2014-09-01 16:57 | AugustoMauch | Note Added: 0069901 | |
2014-09-01 17:16 | ngarcia | Relationship added | related to 0027518 |
2014-09-02 19:52 | hudsonbot | Checkin | |
2014-09-02 19:52 | hudsonbot | Note Added: 0069920 | |
2014-09-03 07:11 | shankarb | Note Added: 0069927 | |
2014-09-03 07:11 | shankarb | Status | resolved => closed |
2014-09-03 07:11 | shankarb | Fixed in Version | => 3.0PR14Q4 |
2014-09-23 10:36 | hgbot | Checkin | |
2014-09-23 10:36 | hgbot | Note Added: 0070276 | |
2014-09-23 10:36 | hgbot | Status | closed => resolved |
2014-09-23 10:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^] => http://code.openbravo.com/erp/devel/pi/rev/fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d [^] |
2014-09-24 08:04 | shankarb | Note Added: 0070295 | |
2014-09-24 08:04 | shankarb | Status | resolved => closed |
2014-09-25 11:30 | hudsonbot | Checkin | |
2014-09-25 11:30 | hudsonbot | Note Added: 0070357 | |
Notes |
|
(0069900)
|
hgbot
|
2014-09-01 16:56
|
|
Repository: erp/devel/pi
Changeset: 33f4f0a2e46de4c2f6accd0a60cfa303d58466a4
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 01 12:48:37 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/33f4f0a2e46de4c2f6accd0a60cfa303d58466a4 [^]
Fixes issue 27322: Param windows opened from the menu fill in _org parameter
The problem was that the organization used to set the _org parameter was the one of the record selected in the view from where the process window has been opened. If the window is opened from the menu then the _org parameter was not being set, and some validations were not working.
Now, if the parameter window has an ad_org_id parameter and is not empty, its value will be used to set _org. Otherwise the current user organization will be used.
---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
|
|
|
|
|
|
|
|
|
(0069927)
|
shankarb
|
2014-09-03 07:11
|
|
Code reviewed and verified in pi changeset 33f4f0a2e46d |
|
|
(0070276)
|
hgbot
|
2014-09-23 10:36
|
|
Repository: erp/devel/pi
Changeset: fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 01 12:48:37 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fa9897fd81dcd0a07d1cac5b6e16f3fb8d809e6d [^]
Fixes issue 27322: Param windows opened from the menu fill in _org parameter
If the parameter window has an ad_org_id parameter and is not empty, its value will be used to set _org. Otherwise the current user organization will be used.
---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
|
|
|
(0070295)
|
shankarb
|
2014-09-24 08:04
|
|
Same fix applied again in reconciliation refactor project merge. |
|
|
|
|