Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021411
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2012-08-22 10:302012-08-24 13:35
ReporternaiaramartinezView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchpiFixed in SCM revision439b1eac8cae
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021411: Child tabs don't be refreshed when their parent tab is modified

DescriptionWhen 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 ReproduceGo 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051452)
hgbot (developer)
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
---
(0051453)
AugustoMauch (manager)
2012-08-22 11:05

Reopened to enter Closed by field
(0051521)
marvintm (developer)
2012-08-24 08:33

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 (developer)
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
---

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker