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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034558
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminoralways2016-11-14 12:062016-11-25 09:32
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revisiond97ce501ff25
ProjectionnoneETAnoneTarget Version3.0PR16Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2016-03-18
Regression introduced in release3.0PR16Q2
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/a160b826335735b762cb0a8cbfb81c40a71383fe [^]
Triggers an Emergency PackNo
Summary

0034558: Record marked as changed after clicking on the print button in grid view

DescriptionRecord marked as changed after clicking on the print button in grid view.

With the fix for issue 0032491, it was prevented to refresh the whole grid by refreshing just the current printed record.

This way of refreshing causes that the form is detecting changes on its values.
Steps To Reproduce1) Go to the [Sales Invoice] window.
2) In grid view, select an existing record.
2) Click on the print button
3) Open the record in form view, notice that the form is opened as if there were changes present.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034485 closedcaristu Record marked as changed after clicking on the print button in grid view 

-  Notes
(0091643)
hgbot (developer)
2016-11-18 08:28

Repository: erp/backports/3.0PR16Q4
Changeset: d97ce501ff25ef9805333b0cf04cf025071e91e7
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 18 08:27:14 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4/rev/d97ce501ff25ef9805333b0cf04cf025071e91e7 [^]

fixes issue 34558: Record marked as changed after printing in grid view

After printing, just the selected record is refreshed with the refreshCurrentRecord function. The problem was caused because that function was retrieving all the properties instead of just the required grid properties. Eventually, this was causing that some extra fields where being compared when opening the form (in recordHasActualChanges function) causing a wrong detection of changes.

To solve the problem, now when refreshCurrentRecord function is executed in grid view, it retrieves just the grid selected properties. Note that this is the behavior when refreshing the whole grid.

---
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
---
(0091810)
alostale (manager)
2016-11-25 09:32

code reviewed + tested

- Issue History
Date Modified Username Field Change
2016-11-17 13:29 caristu Type defect => backport
2016-11-17 13:29 caristu Target Version => 3.0PR16Q4
2016-11-18 08:28 hgbot Checkin
2016-11-18 08:28 hgbot Note Added: 0091643
2016-11-18 08:28 hgbot Status scheduled => resolved
2016-11-18 08:28 hgbot Resolution open => fixed
2016-11-18 08:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q4/rev/d97ce501ff25ef9805333b0cf04cf025071e91e7 [^]
2016-11-18 08:30 caristu Review Assigned To => alostale
2016-11-18 08:54 caristu Description Updated View Revisions
2016-11-25 09:32 alostale Note Added: 0091810
2016-11-25 09:32 alostale Status resolved => closed
2016-11-25 09:32 alostale Fixed in Version => 3.0PR16Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker