Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026095Openbravo ERPA. Platformpublic2014-03-27 08:312014-05-07 18:11
shankarb 
shankarb 
normalminoralways
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
AugustoMauch
Core
No
0026095: Add Infrastructure to refresh record after printing record
When a record is printed and there if some values are altered in the record, it is not shown until the record is refreshed. Add infrastructure to allow refreshing record after printing.
Steps in issue[1]


[1] https://issues.openbravo.com/view.php?id=25053 [^]
No tags attached.
related to defect 0025053 closed AugustoMauch Modules Check number and due date are editable although the check is printed as the screen is not refreshed 
related to defect 00261383.0PR14Q3 closed shankarb Openbravo ERP Small code clean up in HSAS 
Issue History
2014-03-27 08:31shankarbNew Issue
2014-03-27 08:31shankarbAssigned To => shankarb
2014-03-27 08:31shankarbModules => Core
2014-03-27 08:31shankarbTriggers an Emergency Pack => No
2014-03-27 08:31shankarbReview Assigned To => AugustoMauch
2014-03-27 08:31shankarbTarget Version => PR14Q2
2014-03-27 08:32shankarbRelationship addedrelated to 0025053
2014-03-27 08:43shankarbIssue Monitored: AugustoMauch
2014-03-27 08:44hgbotCheckin
2014-03-27 08:44hgbotNote Added: 0065491
2014-03-27 08:44hgbotStatusnew => resolved
2014-03-27 08:44hgbotResolutionopen => fixed
2014-03-27 08:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c3112a8c4e22f001322db883a859eda341b7ad43 [^]
2014-03-27 10:31shankarbNote Added: 0065499
2014-03-27 13:25hgbotCheckin
2014-03-27 13:25hgbotNote Added: 0065520
2014-03-27 15:04hgbotCheckin
2014-03-27 15:04hgbotNote Added: 0065524
2014-03-27 16:17hudsonbotCheckin
2014-03-27 16:17hudsonbotNote Added: 0065527
2014-03-27 16:45shankarbNote Added: 0065532
2014-03-27 16:45shankarbStatusresolved => new
2014-03-27 16:45shankarbResolutionfixed => open
2014-03-27 16:47shankarbSummaryRecord not refreshed after printing record => Add Infrastructure to refresh record after printing record
2014-03-27 16:47shankarbDescription Updatedbug_revision_view_page.php?rev_id=5634#r5634
2014-03-27 16:47shankarbStatusnew => scheduled
2014-03-27 16:47shankarbfix_in_branch => pi
2014-03-27 16:48shankarbStatusscheduled => resolved
2014-03-27 16:48shankarbResolutionopen => fixed
2014-03-28 04:44hudsonbotCheckin
2014-03-28 04:44hudsonbotNote Added: 0065554
2014-03-28 04:44hudsonbotCheckin
2014-03-28 04:44hudsonbotNote Added: 0065555
2014-03-31 16:52AugustoMauchNote Added: 0065625
2014-03-31 16:52AugustoMauchStatusresolved => closed
2014-03-31 16:52AugustoMauchFixed in Version => PR14Q2
2014-04-02 09:16alostaleRelationship addedrelated to 0026138
2014-04-06 14:58hgbotCheckin
2014-04-06 14:58hgbotNote Added: 0066190
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066894

Notes
(0065491)
hgbot   
2014-03-27 08:44   
Repository: erp/devel/pi
Changeset: c3112a8c4e22f001322db883a859eda341b7ad43
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Mar 27 13:07:49 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c3112a8c4e22f001322db883a859eda341b7ad43 [^]

Fixes Issue 26095, related to issue 25053 : Record not refreshed after printing record

Added a new method printPagePopUpDownloadAndRefresh to enable refreshing the grid after printing the record.
Added a new argument 'forceRefresh' in renderJR method to force refresh the grid.

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
A src/org/openbravo/base/secureApp/PopUp_DownloadAndRefresh.html
A src/org/openbravo/base/secureApp/PopUp_DownloadAndRefresh.xml
---
(0065499)
shankarb   
2014-03-27 10:31   
When jasper reports are printed, renderJR method is getting called and if the report is printed then printPagePopUpDownload was called earlier. This method prints the report as pdf and then closes the popup. Now if forceRefresh is set to true, then printPagePopUpDownloadAndRefresh method is called. This method prints the report as pdf and also refreshes the current tab grid.

By default the forceRefresh is set to false. So unless it is explicitly set to true, the current grid will not be refreshed.
(0065520)
hgbot   
2014-03-27 13:25   
Repository: erp/devel/pi
Changeset: 3e4580cd815633775d0dca6a4742ed881829ba6a
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Mar 27 17:53:22 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/3e4580cd815633775d0dca6a4742ed881829ba6a [^]

Related to Issue 26095 : Code review changes

Updated copyright information to Openbravo public license
Updated printPagePopUpDownloadAndRefresh from protected to private method.

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/base/secureApp/PopUp_DownloadAndRefresh.html
M src/org/openbravo/base/secureApp/PopUp_DownloadAndRefresh.xml
---
(0065524)
hgbot   
2014-03-27 15:04   
Repository: erp/devel/pi
Changeset: c3781ce65beace57b2682aeae30c0985d9a6c3a8
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Mar 27 19:32:34 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c3781ce65beace57b2682aeae30c0985d9a6c3a8 [^]

Related to Issue 26095 : Added text interface file.

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---
(0065527)
hudsonbot   
2014-03-27 16:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/ab1988a067e8 [^]
Maturity status: Test
(0065532)
shankarb   
2014-03-27 16:45   
Reopening issue to update issue description
(0065554)
hudsonbot   
2014-03-28 04:44   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b405597cc692 [^]
Maturity status: Test
(0065555)
hudsonbot   
2014-03-28 04:44   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b405597cc692 [^]
Maturity status: Test
(0065625)
AugustoMauch   
2014-03-31 16:52   
Code reviewed and verified in pi@4cfc70bcbf42
(0066190)
hgbot   
2014-04-06 14:58   
Repository: erp/devel/pi
Changeset: a7130dd050ca3a8c50dc16bc5426ba817b264688
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Sun Apr 06 18:24:19 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a7130dd050ca3a8c50dc16bc5426ba817b264688 [^]

Related to Issue 26095 : Commented copyright information in xml file

---
M src/org/openbravo/base/secureApp/PopUp_DownloadAndRefresh.xml
---
(0066894)
hudsonbot   
2014-05-07 18:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test