Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034558 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2016-11-14 12:06 | 2016-11-25 09:32 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d97ce501ff25 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-03-18 | |||||||
Regression introduced in release | 3.0PR16Q2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/a160b826335735b762cb0a8cbfb81c40a71383fe [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034558: Record marked as changed after clicking on the print button in grid view | |||||||
Description | Record 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 Reproduce | 1) 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |