Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022645 | Openbravo ERP | A. Platform | public | 2012-12-20 13:37 | 2013-01-28 14:32 |
|
Reporter | ngarcia | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP20 | Fixed in Version | 3.0MP20 | |
Merge Request Status | |
Review Assigned To | mtaal |
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 | 0022645: A tab without a reference to its parent identifier is not refreshed |
Description | A tab without a reference to its parent identifier is not refreshed |
Steps To Reproduce | An specific example:
Create a new tab for the sales order window
Its associated table should have the C_BPartner_ID column
Add the following sentence to the HQL Where Clause field
e.businessPartner.id=@Order.businessPartner@
Go to the Sales Order window and select a record
Notice that its child records are not shown until you refresh the tab
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0017522 | | new | Triage Platform Base | Information changed in lines tab does not get automatically refreshed while in header does. |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-12-20 13:37 | ngarcia | New Issue | |
2012-12-20 13:37 | ngarcia | Assigned To | => AugustoMauch |
2012-12-20 13:37 | ngarcia | Modules | => Core |
2012-12-20 13:37 | ngarcia | Resolution time | => 1358895600 |
2012-12-20 13:37 | ngarcia | Triggers an Emergency Pack | => No |
2012-12-20 13:37 | ngarcia | Issue Monitored: networkb | |
2012-12-20 13:38 | ngarcia | Note Added: 0055117 | |
2013-01-25 14:08 | alostale | Relationship added | related to 0017522 |
2013-01-25 14:18 | AugustoMauch | Assigned To | AugustoMauch => alostale |
2013-01-25 16:05 | alostale | Note Added: 0055873 | |
2013-01-25 16:06 | alostale | Note Edited: 0055873 | bug_revision_view_page.php?bugnote_id=0055873#r4301 |
2013-01-25 16:06 | alostale | Review Assigned To | => mtaal |
2013-01-25 18:57 | hgbot | Checkin | |
2013-01-25 18:57 | hgbot | Note Added: 0055874 | |
2013-01-25 18:57 | hgbot | Status | new => resolved |
2013-01-25 18:57 | hgbot | Resolution | open => fixed |
2013-01-25 18:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c141a066c7d09d1cae7ba6c7fe39ae90dd3cbab7 [^] |
2013-01-25 19:00 | alostale | Note Added: 0055875 | |
2013-01-27 11:34 | hudsonbot | Checkin | |
2013-01-27 11:34 | hudsonbot | Note Added: 0055885 | |
2013-01-28 14:32 | mtaal | Note Added: 0055910 | |
2013-01-28 14:32 | mtaal | Status | resolved => closed |
2013-01-28 14:32 | mtaal | Fixed in Version | => 3.0MP20 |
Notes |
|
|
I have a module with this tab implemented, so you could ask me for it |
|
|
(0055873)
|
alostale
|
2013-01-25 16:05
(edited on: 2013-01-25 16:06) |
|
Steps to reproduce:
* In Sales Order window create a new tab (level 1)
* Table: AD_User
* HQL Where Clause: e.businessPartner.id=@Order.businessPartner@
* Create fields for this new tab
* Go to the Sales Order window and select a record
* Notice that its child records are not shown until you refresh the tab
|
|
|
(0055874)
|
hgbot
|
2013-01-25 18:57
|
|
Repository: erp/devel/pi
Changeset: c141a066c7d09d1cae7ba6c7fe39ae90dd3cbab7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jan 25 18:55:48 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c141a066c7d09d1cae7ba6c7fe39ae90dd3cbab7 [^]
fixed bug 22645: tabs without explicit reference to parent id are not refreshed
The problem was as the subtab was not explicitly setting its parent record (it
was done through where clause), when changing selection in parent an empty
criteria was created preventing request to datasource of being done.
The fix creates for this case a dummy criteria to force request to be triggered.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
|
|
|
|
This fix touches ob-view-grid which is a very central part of the client application, though it should affect only to this very specific case: sub tabs (this.view.parentView exists) without a specific relationship with its parent (there is no this.view.parentProperty), other possible implications should be checked. |
|
|
|
|
|
(0055910)
|
mtaal
|
2013-01-28 14:32
|
|
|