Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021411 | Openbravo ERP | A. Platform | public | 2012-08-22 10:30 | 2012-08-24 13:35 |
|
Reporter | naiaramartinez | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP15 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0021411: Child tabs don't be refreshed when their parent tab is modified |
Description | When you modify any child tab its parent tab gets refreshed. But when you modify parent tab its childs don't get refreshed.
Imagine that you have a display logic in child tab depending on value of a field in parent tab. If you change that value in parent tab you need to refresh manually child tab in order to display o not the field in child tab. |
Steps To Reproduce | Go to Sales invoice and create new header and new line.
Then go back to the header. Change any value and save it. Notice that only the header is refreshed.
Go back to newly created line, modify it and save it. Notice that the line and the header are refreshed. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-08-22 10:30 | naiaramartinez | New Issue | |
2012-08-22 10:30 | naiaramartinez | Assigned To | => alostale |
2012-08-22 10:30 | naiaramartinez | Modules | => Core |
2012-08-22 10:30 | naiaramartinez | OBNetwork customer | => No |
2012-08-22 11:04 | hgbot | Checkin | |
2012-08-22 11:04 | hgbot | Note Added: 0051452 | |
2012-08-22 11:04 | hgbot | Status | new => resolved |
2012-08-22 11:04 | hgbot | Resolution | open => fixed |
2012-08-22 11:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8a09d93b41496bc5807578323ba0a7677ba3219f [^] |
2012-08-22 11:05 | AugustoMauch | Note Added: 0051453 | |
2012-08-22 11:05 | AugustoMauch | Status | resolved => new |
2012-08-22 11:05 | AugustoMauch | Resolution | fixed => open |
2012-08-22 11:05 | AugustoMauch | Assigned To | alostale => AugustoMauch |
2012-08-22 11:05 | AugustoMauch | Closed by | => marvintm |
2012-08-22 11:05 | AugustoMauch | Status | new => scheduled |
2012-08-22 11:05 | AugustoMauch | fix_in_branch | => pi |
2012-08-22 11:05 | AugustoMauch | Status | scheduled => resolved |
2012-08-22 11:05 | AugustoMauch | Resolution | open => fixed |
2012-08-24 08:33 | marvintm | Note Added: 0051521 | |
2012-08-24 08:33 | marvintm | Status | resolved => new |
2012-08-24 08:33 | marvintm | Resolution | fixed => open |
2012-08-24 12:10 | hgbot | Checkin | |
2012-08-24 12:10 | hgbot | Note Added: 0051530 | |
2012-08-24 12:10 | hgbot | Status | new => resolved |
2012-08-24 12:10 | hgbot | Resolution | open => fixed |
2012-08-24 12:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/8a09d93b41496bc5807578323ba0a7677ba3219f [^] => http://code.openbravo.com/erp/devel/pi/rev/439b1eac8cae8049e12f93112049fe6dcaa24ff9 [^] |
2012-08-24 13:35 | marvintm | Status | resolved => closed |
2012-08-24 13:35 | marvintm | Fixed in Version | => 3.0MP15 |
Notes |
|
(0051452)
|
hgbot
|
2012-08-22 11:04
|
|
Repository: erp/devel/pi
Changeset: 8a09d93b41496bc5807578323ba0a7677ba3219f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Aug 22 11:03:59 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8a09d93b41496bc5807578323ba0a7677ba3219f [^]
Fixes issue 21411: Child views are refreshed when saving a form
Before the fix, the child views were only refreshed when the record that was saved was new. Now, it does it always.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
|
|
|
|
Reopened to enter Closed by field |
|
|
|
The child tabs are indeed refreshed. However, if there is already a child record selected, this selection is lost when the parent is changed, and this can be very annoying for the user.
Maybe the child selection can be saved somehow before refreshing the tab, and then recovered? Probably something similar to this is done when refreshing the parent after a child has been modified. |
|
|
(0051530)
|
hgbot
|
2012-08-24 12:10
|
|
Repository: erp/devel/pi
Changeset: 439b1eac8cae8049e12f93112049fe6dcaa24ff9
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Aug 24 12:08:02 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/439b1eac8cae8049e12f93112049fe6dcaa24ff9 [^]
Fixes issue 21411: Selected records are preserved when refreshing child views
Now, when a record is saved, its child tabs will be refreshed preserving the selection of the records.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
|
|